Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.001052/0.001052, allocations: 93.06 kB / 19.65 MB, free: 276 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.001044/0.001044, allocations: 169 kB / 23.02 MB, free: 1.547 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 1.003/1.003, allocations: 177.1 MB / 203.4 MB, free: 5.66 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.14/2.14, allocations: 429.5 MB / 0.6732 GB, free: 4.062 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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.922e-05/3.091e-05, allocations: 6.25 kB / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.00209/0.002121, allocations: 0.8247 MB / 0.879 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001533/0.002275, allocations: 43.78 kB / 0.879 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.876e-05/0.002333, allocations: 0.9375 kB / 0.879 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.79e-05/0.002381, allocations: 11.86 kB / 0.879 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.318e-05/0.002474, allocations: 7.938 kB / 0.879 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.615e-05/0.00253, allocations: 21.09 kB / 0.8791 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.002653, allocations: 63.78 kB / 0.8791 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.002803, allocations: 27.97 kB / 0.8792 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.958e-05/0.002893, allocations: 36.97 kB / 0.8792 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.013e-05/0.002963, allocations: 19.91 kB / 0.8792 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.288e-05/0.002986, allocations: 5.094 kB / 0.8792 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.089e-05/0.002997, allocations: 8 kB / 0.8792 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.537e-05/0.003022, allocations: 15.92 kB / 0.8792 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.003062, allocations: 20.55 kB / 0.8793 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.003174, allocations: 47.77 kB / 0.8793 GB, free: 5.184 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.003178, allocations: 3.438 kB / 0.8793 GB, free: 5.184 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.523e-06/0.003179, allocations: 0 / 0.8793 GB, free: 5.184 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.003184, allocations: 0 / 0.8793 GB, free: 5.184 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.0004424/0.003626, allocations: 408.3 kB / 0.8797 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.003674, allocations: 8.031 kB / 0.8797 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.716e-05/0.003721, allocations: 16.89 kB / 0.8797 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.003924, allocations: 140.4 kB / 0.8799 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.003938, allocations: 8.375 kB / 0.8799 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.003956, allocations: 4.875 kB / 0.8799 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.004109, allocations: 81.61 kB / 0.8799 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.00412, allocations: 4.781 kB / 0.8799 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.004134, allocations: 5.375 kB / 0.88 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.004143, allocations: 384 / 0.88 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.883e-05/0.004212, allocations: 39.78 kB / 0.88 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005209/0.004733, allocations: 462.9 kB / 0.8804 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.627e-05/0.004799, allocations: 55.91 kB / 0.8805 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.066e-05/0.00484, allocations: 23.38 kB / 0.8805 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.403e-06/0.004847, allocations: 0.9688 kB / 0.8805 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.004876, allocations: 37.39 kB / 0.8805 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.004878, allocations: 0 / 0.8805 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001808/0.005058, allocations: 46.59 kB / 0.8806 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.005103, allocations: 81.14 kB / 0.8807 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.005238, allocations: 195.2 kB / 0.8809 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.005251, allocations: 29.7 kB / 0.8809 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.879e-05/0.00533, allocations: 154.7 kB / 0.881 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.046e-05/0.00534, allocations: 7.891 kB / 0.881 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.005376, allocations: 23.38 kB / 0.8811 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.00553, allocations: 496.1 kB / 0.8815 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.826e-05/0.005549, allocations: 7.984 kB / 0.8815 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.9e-05/0.005578, allocations: 23.38 kB / 0.8816 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.335e-05/0.005621, allocations: 27.38 kB / 0.8816 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.005623, allocations: 0 / 0.8816 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.16e-05/0.005715, allocations: 57.58 kB / 0.8816 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.005732, allocations: 8 kB / 0.8816 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.005737, allocations: 0 / 0.8816 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.00576, allocations: 0 / 0.8816 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.745e-05/0.005828, allocations: 4 kB / 0.8817 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.495e-06/0.005835, allocations: 3.938 kB / 0.8817 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.208e-05/0.005858, allocations: 4 kB / 0.8817 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-06/0.005864, allocations: 4 kB / 0.8817 GB, free: 2.516 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 8.341e-05/0.005947, allocations: 172.5 kB / 0.8818 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.005988, allocations: 3.953 kB / 0.8818 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/0.006018, allocations: 11.47 kB / 0.8818 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.00602, allocations: 0 / 0.8818 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.006024, allocations: 0 / 0.8818 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.006031, allocations: 7.938 kB / 0.8819 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/0.006419, allocations: 0.5383 MB / 0.8824 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.006421, allocations: 0 / 0.8824 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.95e-05/0.006441, allocations: 4 kB / 0.8824 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.006443, allocations: 4.062 kB / 0.8824 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.006453, allocations: 7.938 kB / 0.8824 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.006455, allocations: 0 / 0.8824 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.006457, allocations: 4 kB / 0.8824 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.066e-05/0.006538, allocations: 88.11 kB / 0.8825 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.429e-05/0.006562, allocations: 11.94 kB / 0.8825 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.006577, allocations: 7.938 kB / 0.8825 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.432e-05/0.006591, allocations: 0 / 0.8825 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.564e-05/0.006606, allocations: 3.984 kB / 0.8825 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-06/0.006609, allocations: 0 / 0.8825 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.041e-05/0.006699, allocations: 147.2 kB / 0.8826 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.006699, allocations: 0 / 0.8826 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002401/0.006939, allocations: 11.94 kB / 0.8827 GB, free: 1.41 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.0001083/0.007048, allocations: 98.48 kB / 0.8827 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.732e-05/0.007145, allocations: 27.61 kB / 0.8828 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.007147, allocations: 0 / 0.8828 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.318e-05/0.00716, allocations: 11.69 kB / 0.8828 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.007339, allocations: 256 / 0.8828 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003639/0.007703, allocations: 177.8 kB / 0.883 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.499e-05/0.007748, allocations: 59.86 kB / 0.883 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.309e-05/0.007781, allocations: 7.984 kB / 0.883 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.913e-05/0.00781, allocations: 12.5 kB / 0.883 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of SimCode: time 6.81e-07/0.007811, allocations: 0 / 0.883 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of Templates: time 0.002464/0.01028, allocations: 339.1 kB / 0.8834 GB, free: 0.6211 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.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.565575901884586]