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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001742/0.001749, allocations: 105.3 kB / 16.37 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00215/0.00215, allocations: 190.4 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.749/2.749, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 68.3 kB / 0.8774 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3799, allocations: 153 MB / 1.027 GB, free: 2.023 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002626/0.3826, allocations: 0.8514 MB / 1.028 GB, free: 1.18 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001468/0.3827, allocations: 39.78 kB / 1.028 GB, free: 1.141 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.898e-05/0.3828, allocations: 4 kB / 1.028 GB, free: 1.137 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.356e-05/0.3829, allocations: 7.875 kB / 1.028 GB, free: 1.129 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.886e-05/0.383, allocations: 7.875 kB / 1.028 GB, free: 1.121 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.014e-05/0.383, allocations: 19.98 kB / 1.028 GB, free: 1.102 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.3832, allocations: 63.83 kB / 1.028 GB, free: 1.039 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.3834, allocations: 47.95 kB / 1.028 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.45e-05/0.3834, allocations: 27.86 kB / 1.028 GB, free: 0.9648 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.827e-05/0.3835, allocations: 23.86 kB / 1.028 GB, free: 0.9414 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.3835, allocations: 11.94 kB / 1.028 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.215e-05/0.3836, allocations: 8 kB / 1.028 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/0.3836, allocations: 11.92 kB / 1.028 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.106e-05/0.3836, allocations: 35.75 kB / 1.028 GB, free: 0.875 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.3838, allocations: 75.7 kB / 1.028 GB, free: 0.8008 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3838, allocations: 3.984 kB / 1.028 GB, free: 0.7969 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3838, allocations: 0 / 1.028 GB, free: 0.7969 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.3838, allocations: 0 / 1.028 GB, free: 0.7969 MB / 0.795 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.0004697/0.3843, allocations: 371.2 kB / 1.028 GB, free: 396 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.3843, allocations: 12.75 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.3844, allocations: 8.844 kB / 1.028 GB, free: 376 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.3847, allocations: 192.1 kB / 1.029 GB, free: 144 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.3847, allocations: 16.22 kB / 1.029 GB, free: 128 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.3847, allocations: 8.375 kB / 1.029 GB, free: 120 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.3849, allocations: 91.89 kB / 1.029 GB, free: 16 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.3849, allocations: 3.938 kB / 1.029 GB, free: 12 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.3849, allocations: 0 / 1.029 GB, free: 12 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.385, allocations: 4 kB / 1.029 GB, free: 8 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.46e-05/0.3851, allocations: 39.98 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007047/0.3858, allocations: 440.5 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.374e-05/0.3858, allocations: 37.22 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.427e-05/0.3859, allocations: 21.78 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.3859, allocations: 0 / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.386, allocations: 38.59 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.386, allocations: 0 / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001915/0.3862, allocations: 57.47 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.3862, allocations: 77.36 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.3864, allocations: 168.7 kB / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.3864, allocations: 25.7 kB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.3866, allocations: 99.98 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.3866, allocations: 15.89 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.3866, allocations: 9.719 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.3867, allocations: 326.8 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.189e-05/0.3868, allocations: 8 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.363e-05/0.3868, allocations: 17.72 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.427e-05/0.3869, allocations: 25.72 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3869, allocations: 0 / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.356e-05/0.387, allocations: 61.53 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.387, allocations: 4 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.387, allocations: 3.938 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.387, allocations: 0 / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.389e-05/0.3871, allocations: 12.06 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.3871, allocations: 0 / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.828e-05/0.3871, allocations: 19.78 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.3872, allocations: 0 / 1.03 GB, free: 14.37 MB / 0.8106 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.792e-05/0.3872, allocations: 121.8 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.155e-05/0.3873, allocations: 8 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.156e-05/0.3873, allocations: 19.8 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3873, allocations: 0 / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3873, allocations: 0 / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.498e-05/0.3874, allocations: 97 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.3874, allocations: 0 / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.435e-05/0.3875, allocations: 3.938 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.399e-05/0.3875, allocations: 4 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001157/0.3877, allocations: 196.2 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001666/0.3878, allocations: 294 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.549e-05/0.3879, allocations: 15.92 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001355/0.388, allocations: 118.3 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of Backend: time 5.41e-07/0.388, allocations: 4 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004378/0.3885, allocations: 82.41 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of SimCode: time 0.0007148/0.3892, allocations: 0.6046 MB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of Templates: time 0.002682/0.3919, allocations: 0.5082 MB / 1.032 GB, free: 12.2 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches