Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.0009767/0.0009767, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001434/0.002411, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009455/0.0009455, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001244/0.002189, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9514/0.9514, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08334/1.035, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.336/2.336, allocations: 447.1 MB / 0.675 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2487/2.585, allocations: 146 MB / 0.8176 GB, free: 3.828 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.8189 GB, free: 2.492 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.74e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001513/0.00154, allocations: 0.863 MB / 0.8198 GB, free: 1.621 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 9.519e-05/0.001636, allocations: 51.72 kB / 0.8198 GB, free: 1.57 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.876e-05/0.001674, allocations: 3.938 kB / 0.8198 GB, free: 1.566 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.648e-05/0.001701, allocations: 11.88 kB / 0.8198 GB, free: 1.555 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.49e-05/0.001746, allocations: 11.88 kB / 0.8199 GB, free: 1.543 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 3.832e-05/0.001784, allocations: 19.97 kB / 0.8199 GB, free: 1.523 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.808e-05/0.001862, allocations: 59.78 kB / 0.8199 GB, free: 1.465 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.333e-05/0.001956, allocations: 43.91 kB / 0.82 GB, free: 1.422 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.75e-05/0.002033, allocations: 43.89 kB / 0.82 GB, free: 1.379 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.733e-05/0.00207, allocations: 15.92 kB / 0.82 GB, free: 1.363 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.002089, allocations: 4 kB / 0.82 GB, free: 1.359 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.604e-06/0.002096, allocations: 4 kB / 0.82 GB, free: 1.355 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.002115, allocations: 11.94 kB / 0.82 GB, free: 1.344 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.068e-05/0.002136, allocations: 15.94 kB / 0.8201 GB, free: 1.328 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.593e-05/0.002222, allocations: 47.66 kB / 0.8201 GB, free: 1.281 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.147e-05/0.002233, allocations: 0 / 0.8201 GB, free: 1.281 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.91e-07/0.002234, allocations: 0 / 0.8201 GB, free: 1.281 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.002246, allocations: 0 / 0.8201 GB, free: 1.281 MB / 0.7917 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.000346/0.002592, allocations: 296.3 kB / 0.8204 GB, free: 0.9648 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.002625, allocations: 8.031 kB / 0.8204 GB, free: 0.957 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.002657, allocations: 12.94 kB / 0.8204 GB, free: 0.9453 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.002792, allocations: 129.6 kB / 0.8205 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.002804, allocations: 12.28 kB / 0.8205 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.002818, allocations: 4.375 kB / 0.8206 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.345e-05/0.002911, allocations: 85.31 kB / 0.8206 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.002918, allocations: 192 / 0.8206 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.002925, allocations: 4.375 kB / 0.8206 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.002931, allocations: 4.375 kB / 0.8206 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.627e-05/0.002958, allocations: 27.86 kB / 0.8207 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003491/0.003307, allocations: 0.5011 MB / 0.8212 GB, free: 116 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.956e-05/0.003376, allocations: 169.1 kB / 0.8213 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.831e-05/0.003395, allocations: 80.14 kB / 0.8214 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.003411, allocations: 75.28 kB / 0.8215 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.003445, allocations: 117.9 kB / 0.8216 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.003446, allocations: 0 / 0.8216 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 5.233e-05/0.003498, allocations: 29.69 kB / 0.8216 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.003535, allocations: 130.7 kB / 0.8217 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.003651, allocations: 141.7 kB / 0.8219 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.322e-06/0.003658, allocations: 29.7 kB / 0.8219 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.878e-05/0.003707, allocations: 135.7 kB / 0.822 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-06/0.003709, allocations: 0 / 0.822 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.003737, allocations: 25.67 kB / 0.822 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.673e-05/0.003803, allocations: 318.8 kB / 0.8224 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.604e-06/0.003811, allocations: 7.984 kB / 0.8224 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.87e-05/0.00384, allocations: 58.8 kB / 0.8224 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.337e-05/0.003893, allocations: 70.8 kB / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.003895, allocations: 0 / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.294e-05/0.003978, allocations: 77.48 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.00399, allocations: 4.25 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.003995, allocations: 4 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.004006, allocations: 4 kB / 0.8226 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.921e-05/0.004055, allocations: 19.92 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.004059, allocations: 4 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.193e-05/0.00408, allocations: 11.88 kB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.004085, allocations: 4 kB / 0.8226 GB, free: 14.49 MB / 0.8073 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 6.282e-05/0.004148, allocations: 189.1 kB / 0.8228 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/0.004184, allocations: 113 kB / 0.8229 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.00422, allocations: 112.8 kB / 0.823 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.53e-05/0.004255, allocations: 180.2 kB / 0.8232 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.671e-05/0.004292, allocations: 188.3 kB / 0.8234 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.444e-05/0.004326, allocations: 180.2 kB / 0.8235 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.004532, allocations: 345.3 kB / 0.8239 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.096e-05/0.004553, allocations: 101 kB / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.952e-05/0.004572, allocations: 104.9 kB / 0.8241 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.329e-05/0.004606, allocations: 108.9 kB / 0.8242 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.696e-05/0.004643, allocations: 184.2 kB / 0.8243 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/0.004678, allocations: 180.2 kB / 0.8245 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.342e-05/0.004711, allocations: 176.3 kB / 0.8247 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.52e-05/0.004746, allocations: 184.2 kB / 0.8248 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.291e-05/0.004829, allocations: 315.7 kB / 0.8251 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.078e-05/0.00487, allocations: 180.3 kB / 0.8253 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.18e-05/0.004912, allocations: 101 kB / 0.8254 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.004949, allocations: 180.2 kB / 0.8256 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.004971, allocations: 109 kB / 0.8257 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.416e-05/0.004995, allocations: 28.83 kB / 0.8257 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004995, allocations: 3.938 kB / 0.8257 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001256/0.00512, allocations: 11.95 kB / 0.8257 GB, free: 11.11 MB / 0.8073 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 9.173e-05/0.005212, allocations: 155.7 kB / 0.8259 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.972e-05/0.005272, allocations: 28.94 kB / 0.8259 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.005277, allocations: 4 kB / 0.8259 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.647e-06/0.005281, allocations: 4 kB / 0.8259 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.00548, allocations: 479.6 kB / 0.8264 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002071/0.005687, allocations: 228.1 kB / 0.8266 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.932e-05/0.005716, allocations: 67.22 kB / 0.8267 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.232e-05/0.005748, allocations: 13.47 kB / 0.8267 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.005781, allocations: 55.38 kB / 0.8267 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of SimCode: time 8.41e-07/0.005782, allocations: 0 / 0.8267 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of Templates: time 0.001737/0.007518, allocations: 267.3 kB / 0.827 GB, free: 9.77 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.053129856474698]