Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001351/0.001356, allocations: 109.4 kB / 16.41 MB, free: 6.488 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.001491/0.001491, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.331/1.331, 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 10.1.1-maint.10.0.x/package.mo): time 2.447/2.447, allocations: 437 MB / 0.7112 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 63.83 kB / 1.019 GB, free: 9.5 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9386/0.9401, allocations: 151.6 MB / 1.167 GB, free: 3.926 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.003382/0.9435, allocations: 1.678 MB / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003313/0.9468, allocations: 1.36 MB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002461/0.9471, allocations: 7.938 kB / 1.17 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005928/0.9478, allocations: 83.58 kB / 1.17 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000302/0.9481, allocations: 75.47 kB / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001374/0.9495, allocations: 284.7 kB / 1.171 GB, free: 444 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004018/0.9499, allocations: 187.2 kB / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.54e-05/0.95, allocations: 9.484 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002319/0.9502, allocations: 87.62 kB / 1.171 GB, free: 152 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.9504, allocations: 83.66 kB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.9505, allocations: 4 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008124/0.9513, allocations: 343.4 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.9514, allocations: 67.73 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.9516, allocations: 99.45 kB / 1.172 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009643/0.9526, allocations: 388.8 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.9526, allocations: 0 / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9526, allocations: 0 / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.9526, allocations: 0 / 1.172 GB, free: 15.18 MB / 0.9044 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.001287/0.9539, allocations: 0.5645 MB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.033e-05/0.954, allocations: 12.03 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.9541, allocations: 24.59 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006107/0.9547, allocations: 271.7 kB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.9548, allocations: 67.95 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.9549, allocations: 4.375 kB / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.9551, allocations: 89.78 kB / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.9551, allocations: 0 / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.9551, allocations: 0 / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.9552, allocations: 0 / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002509/0.9554, allocations: 103.9 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003234/0.9557, allocations: 249.5 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/0.9572, allocations: 302.3 kB / 1.174 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.9574, allocations: 56.83 kB / 1.174 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001818/0.9576, allocations: 105 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.9576, allocations: 38.5 kB / 1.174 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.9576, allocations: 0 / 1.174 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6): time 0.0005802/0.9582, allocations: 205.5 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.9583, allocations: 59.41 kB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003097/0.9586, allocations: 299.1 kB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.9586, allocations: 25.7 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.354e-05/0.9587, allocations: 124.6 kB / 1.174 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.9587, allocations: 19.72 kB / 1.174 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.297e-05/0.9588, allocations: 53.69 kB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.959, allocations: 342.7 kB / 1.175 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.9592, allocations: 163.9 kB / 1.175 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.9594, allocations: 156 kB / 1.175 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004033/0.9598, allocations: 293.4 kB / 1.175 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.9599, allocations: 4 kB / 1.175 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006238/0.9605, allocations: 408.7 kB / 1.176 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.9605, allocations: 4 kB / 1.176 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.9605, allocations: 4 kB / 1.176 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.9606, allocations: 0 / 1.176 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.783e-05/0.9607, allocations: 12 kB / 1.176 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.9607, allocations: 7.984 kB / 1.176 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.9608, allocations: 31.53 kB / 1.176 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.9608, allocations: 0 / 1.176 GB, free: 10.9 MB / 0.9044 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.0001225/0.961, allocations: 129.8 kB / 1.176 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.961, allocations: 27.64 kB / 1.176 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003638/0.9614, allocations: 171.4 kB / 1.176 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.9614, allocations: 3.984 kB / 1.176 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.9614, allocations: 0 / 1.176 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.9614, allocations: 0 / 1.176 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.9616, allocations: 241.4 kB / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.9616, allocations: 0 / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.133e-05/0.9617, allocations: 15.94 kB / 1.176 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.9617, allocations: 0 / 1.176 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.9617, allocations: 7.984 kB / 1.176 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.9618, allocations: 4 kB / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.9618, allocations: 0 / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003195/0.9621, allocations: 180.7 kB / 1.177 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.445e-05/0.9622, allocations: 108.8 kB / 1.177 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.9622, allocations: 7.984 kB / 1.177 GB, free: 9.914 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.675e-05/0.9623, allocations: 4.125 kB / 1.177 GB, free: 9.91 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.9624, allocations: 12 kB / 1.177 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.9624, allocations: 7.984 kB / 1.177 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000174/0.9626, allocations: 193.9 kB / 1.177 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9626, allocations: 4 kB / 1.177 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004135/0.963, allocations: 108 kB / 1.177 GB, free: 9.598 MB / 0.9044 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.0005375/0.9636, allocations: 262.9 kB / 1.177 GB, free: 9.328 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005598/0.9641, allocations: 359.2 kB / 1.178 GB, free: 8.965 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.9641, allocations: 0 / 1.178 GB, free: 8.965 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.9643, allocations: 63.97 kB / 1.178 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.9646, allocations: 39.22 kB / 1.178 GB, free: 8.867 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006619/0.9653, allocations: 417.8 kB / 1.178 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.9656, allocations: 0.7396 MB / 1.179 GB, free: 7.66 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.911e-05/0.9657, allocations: 15.44 kB / 1.179 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of SimCode: time 1.91e-07/0.9657, allocations: 0 / 1.179 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of Templates: time 0.005812/0.9715, allocations: 3.189 MB / 1.182 GB, free: 4.48 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & ./Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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