Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.0009571/0.0009571, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009515/0.0009515, allocations: 165.3 kB / 23.02 MB, free: 1.551 MB / 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 0.987/0.987, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.166/2.166, allocations: 429.5 MB / 0.6733 GB, free: 4.012 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.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.199e-05/3.356e-05, allocations: 6.25 kB / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.00497/0.005004, allocations: 0.8343 MB / 0.879 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001288/0.005133, allocations: 39.78 kB / 0.879 GB, free: 5.453 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.007e-05/0.005183, allocations: 1.125 kB / 0.879 GB, free: 5.453 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.921e-05/0.005232, allocations: 7.875 kB / 0.879 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.317e-05/0.005325, allocations: 19.8 kB / 0.8791 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.712e-05/0.005372, allocations: 25.56 kB / 0.8791 GB, free: 5.402 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.005476, allocations: 55.84 kB / 0.8791 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.005617, allocations: 31.97 kB / 0.8792 GB, free: 5.316 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.138e-05/0.005709, allocations: 39.84 kB / 0.8792 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.16e-05/0.00575, allocations: 18.33 kB / 0.8792 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.005772, allocations: 8 kB / 0.8792 GB, free: 5.254 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.767e-06/0.005781, allocations: 4 kB / 0.8792 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.334e-05/0.005804, allocations: 19.91 kB / 0.8793 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.237e-05/0.005836, allocations: 19.92 kB / 0.8793 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.005947, allocations: 39.83 kB / 0.8793 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.005952, allocations: 6.125 kB / 0.8793 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.362e-06/0.005953, allocations: 0 / 0.8793 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.005958, allocations: 0 / 0.8793 GB, free: 5.168 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.0004132/0.006371, allocations: 404.3 kB / 0.8797 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.006416, allocations: 8.031 kB / 0.8797 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.621e-05/0.006462, allocations: 13.61 kB / 0.8797 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.006643, allocations: 144.4 kB / 0.8799 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.006657, allocations: 10.03 kB / 0.8799 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.006674, allocations: 8.375 kB / 0.8799 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003155/0.009829, allocations: 91.89 kB / 0.88 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.009841, allocations: 192 / 0.88 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.009854, allocations: 1.562 kB / 0.88 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.009865, allocations: 4.375 kB / 0.88 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002495/0.01011, allocations: 23.92 kB / 0.88 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005043/0.01062, allocations: 470.3 kB / 0.8804 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.217e-05/0.01068, allocations: 54.19 kB / 0.8805 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.68e-05/0.01072, allocations: 23.44 kB / 0.8805 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.01073, allocations: 0 / 0.8805 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.01076, allocations: 45.41 kB / 0.8806 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 3.787e-06/0.01076, allocations: 0 / 0.8806 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001786/0.01094, allocations: 41.64 kB / 0.8806 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.01098, allocations: 81.36 kB / 0.8807 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.0111, allocations: 189.8 kB / 0.8809 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.01112, allocations: 25.7 kB / 0.8809 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.53e-05/0.0112, allocations: 158.7 kB / 0.881 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.062e-05/0.01121, allocations: 11.89 kB / 0.881 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.01125, allocations: 19.38 kB / 0.8811 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.01139, allocations: 0.4884 MB / 0.8815 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.835e-05/0.01141, allocations: 4 kB / 0.8815 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.508e-05/0.01143, allocations: 19.38 kB / 0.8816 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.588e-05/0.01148, allocations: 35.3 kB / 0.8816 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01148, allocations: 4 kB / 0.8816 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.066e-05/0.01156, allocations: 49.66 kB / 0.8817 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.01158, allocations: 4 kB / 0.8817 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.01158, allocations: 0 / 0.8817 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.0116, allocations: 4 kB / 0.8817 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.898e-05/0.01167, allocations: 15.92 kB / 0.8817 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.01168, allocations: 3.938 kB / 0.8817 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.163e-05/0.0117, allocations: 0 / 0.8817 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.01171, allocations: 4 kB / 0.8817 GB, free: 2.496 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 7.339e-05/0.01178, allocations: 160.6 kB / 0.8818 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/0.01182, allocations: 7.953 kB / 0.8818 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.877e-05/0.01185, allocations: 7.5 kB / 0.8818 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.01185, allocations: 7.984 kB / 0.8819 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.01186, allocations: 3.984 kB / 0.8819 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.01186, allocations: 3.938 kB / 0.8819 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003519/0.01221, allocations: 0.5383 MB / 0.8824 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.01222, allocations: 0 / 0.8824 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.139e-05/0.01224, allocations: 7.984 kB / 0.8824 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.01224, allocations: 0 / 0.8824 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.01225, allocations: 12 kB / 0.8824 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.01225, allocations: 0 / 0.8824 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01225, allocations: 0 / 0.8824 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.588e-05/0.01233, allocations: 88.03 kB / 0.8825 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.314e-05/0.01235, allocations: 11.94 kB / 0.8825 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.01236, allocations: 3.938 kB / 0.8825 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.303e-05/0.01238, allocations: 0 / 0.8825 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.697e-05/0.01239, allocations: 0 / 0.8825 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.0124, allocations: 4 kB / 0.8825 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.679e-05/0.01245, allocations: 146.8 kB / 0.8827 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.01245, allocations: 4.031 kB / 0.8827 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.003187/0.01564, allocations: 11.94 kB / 0.8827 GB, free: 1.398 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001069/0.01575, allocations: 99.23 kB / 0.8828 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.728e-05/0.01583, allocations: 19.62 kB / 0.8828 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01584, allocations: 0 / 0.8828 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.646e-06/0.01585, allocations: 11.69 kB / 0.8828 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001196/0.01596, allocations: 8 kB / 0.8828 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003094/0.01627, allocations: 178.8 kB / 0.883 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.853e-05/0.01631, allocations: 59.86 kB / 0.883 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.678e-05/0.01634, allocations: 4 kB / 0.883 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.365e-05/0.01636, allocations: 8.5 kB / 0.883 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of SimCode: time 1.292e-06/0.01636, allocations: 0 / 0.883 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of Templates: time 0.001987/0.01835, allocations: 356.9 kB / 0.8834 GB, free: 0.5938 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.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.440095397178084]