Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 69.11 kB / 20.65 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 169 kB / 24.06 MB, free: 448 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.034/1.034, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.131/2.131, allocations: 429.5 MB / 0.6743 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.8794 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.874e-05/2.041e-05, allocations: 2.969 kB / 0.8794 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001551/0.001571, allocations: 0.8176 MB / 0.8802 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001111/0.001683, allocations: 40.28 kB / 0.8802 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.814e-05/0.001731, allocations: 4 kB / 0.8802 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.57e-05/0.001766, allocations: 10.16 kB / 0.8803 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.653e-05/0.001843, allocations: 14.17 kB / 0.8803 GB, free: 5.137 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.88e-05/0.001882, allocations: 19.97 kB / 0.8803 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.56e-05/0.001967, allocations: 63.78 kB / 0.8803 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.002077, allocations: 28.53 kB / 0.8804 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.721e-05/0.002165, allocations: 45.19 kB / 0.8804 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.591e-05/0.002201, allocations: 15.97 kB / 0.8804 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.002215, allocations: 4 kB / 0.8804 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.686e-06/0.002223, allocations: 8 kB / 0.8804 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.22e-05/0.002246, allocations: 13.52 kB / 0.8805 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.175e-05/0.002267, allocations: 19.92 kB / 0.8805 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.171e-05/0.002349, allocations: 47.7 kB / 0.8805 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.002351, allocations: 0 / 0.8805 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.31e-07/0.002352, allocations: 1.688 kB / 0.8805 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.002356, allocations: 0 / 0.8805 GB, free: 4.879 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000309/0.002665, allocations: 412.2 kB / 0.8809 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.002699, allocations: 8.031 kB / 0.8809 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.783e-05/0.002727, allocations: 15.77 kB / 0.8809 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.002849, allocations: 140.4 kB / 0.8811 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.002859, allocations: 8.375 kB / 0.8811 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.735e-06/0.002867, allocations: 4.375 kB / 0.8811 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.249e-05/0.00296, allocations: 85.53 kB / 0.8812 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.002967, allocations: 192 / 0.8812 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.904e-06/0.002975, allocations: 4.375 kB / 0.8812 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.002981, allocations: 4.375 kB / 0.8812 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.721e-05/0.003008, allocations: 27.86 kB / 0.8812 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.003402, allocations: 0.7224 MB / 0.8819 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.721e-05/0.003479, allocations: 269.4 kB / 0.8822 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.892e-05/0.003508, allocations: 130.9 kB / 0.8823 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.003533, allocations: 119.2 kB / 0.8824 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.00357, allocations: 152.6 kB / 0.8825 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.763e-06/0.003572, allocations: 3.984 kB / 0.8826 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 5.046e-05/0.003623, allocations: 37.69 kB / 0.8826 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/0.003677, allocations: 170.6 kB / 0.8827 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.871e-05/0.003776, allocations: 213.3 kB / 0.883 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.003784, allocations: 25.7 kB / 0.883 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.003984, allocations: 174.5 kB / 0.8831 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.136e-06/0.003987, allocations: 4 kB / 0.8831 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.004015, allocations: 27.33 kB / 0.8832 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.004125, allocations: 0.4923 MB / 0.8837 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.16e-05/0.004136, allocations: 0 / 0.8837 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.981e-05/0.004176, allocations: 77.47 kB / 0.8837 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.397e-05/0.00424, allocations: 97.31 kB / 0.8838 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.004242, allocations: 0 / 0.8838 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001073/0.004349, allocations: 81.5 kB / 0.8839 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.004362, allocations: 8.25 kB / 0.8839 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.00437, allocations: 7.984 kB / 0.8839 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.004379, allocations: 4 kB / 0.8839 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.902e-05/0.004428, allocations: 15.94 kB / 0.8839 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.004431, allocations: 0 / 0.8839 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.444e-05/0.004456, allocations: 11.89 kB / 0.8839 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.004461, allocations: 4 kB / 0.8839 GB, free: 1.078 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.865e-05/0.004549, allocations: 283.7 kB / 0.8842 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.988e-05/0.004599, allocations: 164.8 kB / 0.8844 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.627e-05/0.004645, allocations: 152.7 kB / 0.8845 GB, free: 476 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.564e-05/0.004701, allocations: 264.1 kB / 0.8848 GB, free: 204 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.146e-05/0.004773, allocations: 272 kB / 0.885 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.103e-05/0.004834, allocations: 284 kB / 0.8853 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.004997, allocations: 492.4 kB / 0.8858 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-05/0.005028, allocations: 144.9 kB / 0.8859 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.87e-05/0.005056, allocations: 144.9 kB / 0.8861 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.624e-05/0.005112, allocations: 272 kB / 0.8863 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.258e-05/0.005165, allocations: 264.1 kB / 0.8866 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.383e-05/0.005219, allocations: 276 kB / 0.8868 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-05/0.005271, allocations: 268.1 kB / 0.8871 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.005387, allocations: 451.9 kB / 0.8875 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.274e-05/0.005429, allocations: 156.8 kB / 0.8877 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.003e-05/0.005489, allocations: 272 kB / 0.8879 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.408e-05/0.005544, allocations: 144.9 kB / 0.8881 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.755e-05/0.005601, allocations: 272.3 kB / 0.8883 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/0.005632, allocations: 148.9 kB / 0.8885 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.595e-05/0.005678, allocations: 143.1 kB / 0.8886 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.1e-08/0.005678, allocations: 0 / 0.8886 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001594/0.005838, allocations: 8 kB / 0.8886 GB, free: 12.11 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001027/0.00594, allocations: 210.4 kB / 0.8888 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.808e-05/0.006008, allocations: 43.58 kB / 0.8888 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.00601, allocations: 0 / 0.8888 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.965e-06/0.006013, allocations: 7.938 kB / 0.8889 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.006307, allocations: 0.7139 MB / 0.8896 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000219/0.006526, allocations: 272.5 kB / 0.8898 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.144e-05/0.006557, allocations: 59.34 kB / 0.8899 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.33e-05/0.006591, allocations: 9.219 kB / 0.8899 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.00662, allocations: 74.2 kB / 0.8899 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of SimCode: time 7.01e-07/0.006621, allocations: 0 / 0.8899 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of Templates: time 0.001886/0.008507, allocations: 343.6 kB / 0.8903 GB, free: 10.33 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.41768962983042]