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.004733/0.004733, allocations: 100.9 kB / 15.73 MB, free: 5.988 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.001078/0.001078, allocations: 195.6 kB / 16.67 MB, free: 5.926 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.842/2.842, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 67.91 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3705, allocations: 157.4 MB / 1.208 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.003497/0.374, allocations: 1.671 MB / 1.209 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002444/0.3765, allocations: 1.375 MB / 1.211 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/0.3767, allocations: 4 kB / 1.211 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004867/0.3772, allocations: 91.52 kB / 1.211 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.3775, allocations: 63.59 kB / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000953/0.3784, allocations: 281 kB / 1.211 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002849/0.3787, allocations: 187.2 kB / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.996e-05/0.3788, allocations: 13.5 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.3789, allocations: 79.69 kB / 1.211 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.3791, allocations: 83.61 kB / 1.211 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.3791, allocations: 8 kB / 1.211 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006129/0.3797, allocations: 339.4 kB / 1.212 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.3799, allocations: 71.78 kB / 1.212 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.38, allocations: 91.47 kB / 1.212 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007043/0.3807, allocations: 394.8 kB / 1.212 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3807, allocations: 0 / 1.212 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3807, allocations: 0 / 1.212 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.3807, allocations: 4 kB / 1.212 GB, free: 4.926 MB / 0.9669 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.001021/0.3817, allocations: 0.5568 MB / 1.213 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.3818, allocations: 8.625 kB / 1.213 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.167e-05/0.3819, allocations: 20.66 kB / 1.213 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000507/0.3824, allocations: 283.6 kB / 1.213 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.3825, allocations: 59.95 kB / 1.213 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.3825, allocations: 16.3 kB / 1.213 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.3828, allocations: 97.78 kB / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.3828, allocations: 0 / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.3828, allocations: 0 / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.3828, allocations: 0 / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.3831, allocations: 99.92 kB / 1.213 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003052/0.3834, allocations: 257.4 kB / 1.214 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.3847, allocations: 298.3 kB / 1.214 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.3848, allocations: 56.83 kB / 1.214 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001419/0.385, allocations: 101 kB / 1.214 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.385, allocations: 38.5 kB / 1.214 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.385, allocations: 4 kB / 1.214 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0005045/0.3855, allocations: 205.3 kB / 1.214 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.3856, allocations: 51.41 kB / 1.214 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.3859, allocations: 303.1 kB / 1.215 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.3859, allocations: 33.7 kB / 1.215 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.3861, allocations: 124.5 kB / 1.215 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.3861, allocations: 15.75 kB / 1.215 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-05/0.3862, allocations: 65.61 kB / 1.215 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.3864, allocations: 334.8 kB / 1.215 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.3866, allocations: 155.9 kB / 1.215 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/0.3869, allocations: 155.9 kB / 1.216 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004029/0.3873, allocations: 297.4 kB / 1.216 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.3873, allocations: 0 / 1.216 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005751/0.3879, allocations: 397 kB / 1.216 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3879, allocations: 8 kB / 1.216 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.3879, allocations: 0 / 1.216 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3879, allocations: 0 / 1.216 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.615e-05/0.388, allocations: 15.94 kB / 1.216 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.388, allocations: 3.984 kB / 1.216 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.3882, allocations: 31.53 kB / 1.216 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.3882, allocations: 4 kB / 1.216 GB, free: 0.6484 MB / 0.9669 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.0001189/0.3883, allocations: 129.8 kB / 1.216 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/0.3884, allocations: 31.64 kB / 1.216 GB, free: 492 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003613/0.3887, allocations: 167.3 kB / 1.217 GB, free: 316 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.3887, allocations: 4 kB / 1.217 GB, free: 312 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.3887, allocations: 0 / 1.217 GB, free: 312 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3888, allocations: 7.938 kB / 1.217 GB, free: 304 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.389, allocations: 237.9 kB / 1.217 GB, free: 16 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.389, allocations: 4 kB / 1.217 GB, free: 12 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.984e-05/0.3891, allocations: 12.2 kB / 1.217 GB, free: 16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.3891, allocations: 3.938 kB / 1.217 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.3891, allocations: 3.984 kB / 1.217 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3891, allocations: 0 / 1.217 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3891, allocations: 4 kB / 1.217 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.3894, allocations: 176.8 kB / 1.217 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.26e-05/0.3895, allocations: 108.8 kB / 1.217 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.3896, allocations: 3.984 kB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-05/0.3897, allocations: 8 kB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.054e-05/0.3897, allocations: 7.938 kB / 1.217 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.3898, allocations: 11.92 kB / 1.217 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001718/0.3899, allocations: 197.9 kB / 1.217 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.39, allocations: 0 / 1.217 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004052/0.3904, allocations: 111.9 kB / 1.217 GB, free: 15.33 MB / 0.9825 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.0005692/0.3909, allocations: 263 kB / 1.218 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000535/0.3915, allocations: 359.3 kB / 1.218 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3915, allocations: 0 / 1.218 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.3916, allocations: 55.91 kB / 1.218 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.3919, allocations: 41.14 kB / 1.218 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006826/0.3926, allocations: 390.8 kB / 1.218 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/0.3931, allocations: 0.7357 MB / 1.219 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.836e-05/0.3932, allocations: 21.06 kB / 1.219 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.185e-05/0.3932, allocations: 15.44 kB / 1.219 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.3932, allocations: 0 / 1.219 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of Templates: time 0.007654/0.4009, allocations: 3.143 MB / 1.222 GB, free: 10.3 MB / 0.9825 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches