Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") translateModel(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 110.6 kB / 16.41 MB, free: 6.445 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.001421/0.001421, allocations: 187 kB / 17.34 MB, free: 5.742 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.548/2.548, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 64.11 kB / 1.055 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8073/0.8087, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002483/0.8112, allocations: 1.682 MB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001869/0.8131, allocations: 1.359 MB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.989e-05/0.8132, allocations: 4 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003423/0.8136, allocations: 91.52 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.8137, allocations: 71.58 kB / 1.212 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006647/0.8144, allocations: 275.2 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.8146, allocations: 191.1 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.866e-05/0.8147, allocations: 9.5 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.8148, allocations: 79.69 kB / 1.212 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.815, allocations: 87.59 kB / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.815, allocations: 12 kB / 1.212 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004861/0.8155, allocations: 347.4 kB / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.044e-05/0.8156, allocations: 67.73 kB / 1.213 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.087e-05/0.8157, allocations: 83.48 kB / 1.213 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004831/0.8161, allocations: 408.7 kB / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.8162, allocations: 0 / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8162, allocations: 0 / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.8162, allocations: 0 / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008027/0.817, allocations: 0.5567 MB / 1.214 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.817, allocations: 8.031 kB / 1.214 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.996e-05/0.8171, allocations: 24.66 kB / 1.214 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.8175, allocations: 279.6 kB / 1.214 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.8176, allocations: 59.97 kB / 1.214 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.8176, allocations: 384 / 1.214 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.8179, allocations: 97.7 kB / 1.214 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.8179, allocations: 0 / 1.214 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.8179, allocations: 4 kB / 1.214 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.8179, allocations: 4 kB / 1.214 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002416/0.8181, allocations: 95.94 kB / 1.214 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002419/0.8184, allocations: 249.5 kB / 1.214 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.8198, allocations: 294.4 kB / 1.215 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.82, allocations: 64.77 kB / 1.215 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001299/0.8201, allocations: 105.1 kB / 1.215 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.8201, allocations: 34.5 kB / 1.215 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.8202, allocations: 0 / 1.215 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0004807/0.8206, allocations: 217.2 kB / 1.215 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.8207, allocations: 51.41 kB / 1.215 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.821, allocations: 303.1 kB / 1.215 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.821, allocations: 25.7 kB / 1.215 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.887e-05/0.8211, allocations: 116.6 kB / 1.216 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.8211, allocations: 19.7 kB / 1.216 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.708e-05/0.8212, allocations: 65.67 kB / 1.216 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.8213, allocations: 334.8 kB / 1.216 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.8215, allocations: 155.9 kB / 1.216 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.8217, allocations: 159.7 kB / 1.216 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003682/0.8221, allocations: 297.2 kB / 1.216 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.8221, allocations: 0 / 1.216 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005189/0.8226, allocations: 401.4 kB / 1.217 GB, free: 4.719 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.8227, allocations: 8 kB / 1.217 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.8227, allocations: 0 / 1.217 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.8227, allocations: 4 kB / 1.217 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.64e-05/0.8228, allocations: 19.98 kB / 1.217 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.8228, allocations: 3.938 kB / 1.217 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.823, allocations: 35.47 kB / 1.217 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.823, allocations: 4 kB / 1.217 GB, free: 4.645 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 0.0001223/0.8231, allocations: 129.8 kB / 1.217 GB, free: 4.508 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.8231, allocations: 23.66 kB / 1.217 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003576/0.8235, allocations: 175.4 kB / 1.217 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.8235, allocations: 0 / 1.217 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.8235, allocations: 0 / 1.217 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.8235, allocations: 0 / 1.217 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.8237, allocations: 241.4 kB / 1.217 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.8237, allocations: 0 / 1.217 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.164e-05/0.8238, allocations: 27.86 kB / 1.218 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.8238, allocations: 0 / 1.218 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.8238, allocations: 0 / 1.218 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.8239, allocations: 4 kB / 1.218 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.8239, allocations: 0 / 1.218 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002999/0.8242, allocations: 184.8 kB / 1.218 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.097e-05/0.8243, allocations: 108.8 kB / 1.218 GB, free: 3.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.8243, allocations: 0 / 1.218 GB, free: 3.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.549e-05/0.8244, allocations: 4 kB / 1.218 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.8244, allocations: 11.98 kB / 1.218 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.8244, allocations: 0 / 1.218 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001659/0.8246, allocations: 193.9 kB / 1.218 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8246, allocations: 3.938 kB / 1.218 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004047/0.825, allocations: 116 kB / 1.218 GB, free: 3.34 MB / 0.9356 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 (6): * Single equations (assignments): 6 * 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.0004727/0.8255, allocations: 270.9 kB / 1.218 GB, free: 3.062 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004853/0.826, allocations: 351.3 kB / 1.219 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.826, allocations: 4 kB / 1.219 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.8262, allocations: 60.03 kB / 1.219 GB, free: 2.645 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.8265, allocations: 40.69 kB / 1.219 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006213/0.8271, allocations: 424.7 kB / 1.219 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.8274, allocations: 0.7318 MB / 1.22 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.788e-05/0.8274, allocations: 23.42 kB / 1.22 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.8274, allocations: 0 / 1.22 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of Templates: time 0.005084/0.8325, allocations: 3.166 MB / 1.223 GB, free: 14.24 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & ./Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,T,TMonotone,errMonotone,errNonMonotone Variables in the result:T,TMonotone,errMonotone,errNonMonotone,time