Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001518/0.001518, allocations: 106.7 kB / 16.41 MB, free: 6.508 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.001488/0.001488, 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.341/1.341, 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 9.1.3-maint.9.1.x/package.mo): time 2.257/2.257, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001416, allocations: 63.91 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7433/0.7447, allocations: 140.4 MB / 1.089 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002481/0.7472, allocations: 1.678 MB / 1.09 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001817/0.7491, allocations: 1.357 MB / 1.092 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.7492, allocations: 3.062 kB / 1.092 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003945/0.7496, allocations: 79.33 kB / 1.092 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.7498, allocations: 78.59 kB / 1.092 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007866/0.7505, allocations: 280.6 kB / 1.092 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.7508, allocations: 190.2 kB / 1.092 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.124e-05/0.7509, allocations: 8.609 kB / 1.092 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.751, allocations: 82.22 kB / 1.092 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.7511, allocations: 90 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.7512, allocations: 6.906 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005855/0.7518, allocations: 335.7 kB / 1.093 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.7519, allocations: 71.16 kB / 1.093 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.752, allocations: 88.62 kB / 1.093 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006551/0.7527, allocations: 404.1 kB / 1.093 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.7527, allocations: 0.9688 kB / 1.093 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.434e-06/0.7527, allocations: 0 / 1.093 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.7527, allocations: 3.938 kB / 1.093 GB, free: 3.016 MB / 0.8575 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.0008339/0.7535, allocations: 0.5517 MB / 1.094 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.7536, allocations: 9.781 kB / 1.094 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.645e-05/0.7537, allocations: 30.17 kB / 1.094 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00039/0.7541, allocations: 270.8 kB / 1.094 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.33e-05/0.7542, allocations: 64.59 kB / 1.094 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.7542, allocations: 7.109 kB / 1.094 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.7544, allocations: 93.39 kB / 1.094 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.7544, allocations: 0.9375 kB / 1.094 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.7544, allocations: 11.94 kB / 1.094 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.7544, allocations: 0.7812 kB / 1.094 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002641/0.7547, allocations: 102.2 kB / 1.094 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002568/0.755, allocations: 251.5 kB / 1.095 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.7563, allocations: 293.1 kB / 1.095 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.7565, allocations: 58.08 kB / 1.095 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001259/0.7566, allocations: 101.8 kB / 1.095 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.7567, allocations: 39.41 kB / 1.095 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.7567, allocations: 0 / 1.095 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0005325/0.7572, allocations: 202.2 kB / 1.095 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.7572, allocations: 60.8 kB / 1.095 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003098/0.7576, allocations: 305.8 kB / 1.096 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.7576, allocations: 25.7 kB / 1.096 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.261e-05/0.7576, allocations: 122.5 kB / 1.096 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.7577, allocations: 20.09 kB / 1.096 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.939e-05/0.7577, allocations: 56.3 kB / 1.096 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.838e-05/0.7578, allocations: 333.3 kB / 1.096 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002438/0.7581, allocations: 157.5 kB / 1.096 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.7583, allocations: 153.8 kB / 1.096 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004391/0.7587, allocations: 296.5 kB / 1.097 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.7588, allocations: 4 kB / 1.097 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005692/0.7593, allocations: 398.2 kB / 1.097 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.7594, allocations: 6.453 kB / 1.097 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.7594, allocations: 6.031 kB / 1.097 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.7594, allocations: 0.6094 kB / 1.097 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.468e-05/0.7595, allocations: 14.62 kB / 1.097 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.7595, allocations: 4 kB / 1.097 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.7596, allocations: 33.75 kB / 1.097 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.7597, allocations: 3.641 kB / 1.097 GB, free: 0.5391 MB / 0.8575 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 9.142e-05/0.7598, allocations: 132.3 kB / 1.097 GB, free: 428 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.7598, allocations: 27.66 kB / 1.097 GB, free: 408 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000361/0.7602, allocations: 168.2 kB / 1.097 GB, free: 344 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.7602, allocations: 1.094 kB / 1.097 GB, free: 344 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.7602, allocations: 0 / 1.097 GB, free: 344 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.7602, allocations: 1.922 kB / 1.097 GB, free: 344 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.7604, allocations: 233 kB / 1.098 GB, free: 128 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.7604, allocations: 5 kB / 1.098 GB, free: 124 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.972e-05/0.7605, allocations: 21.86 kB / 1.098 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.7605, allocations: 3.938 kB / 1.098 GB, free: 112 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.7605, allocations: 6.359 kB / 1.098 GB, free: 108 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.7605, allocations: 4 kB / 1.098 GB, free: 104 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7605, allocations: 1.953 kB / 1.098 GB, free: 104 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.7608, allocations: 183.4 kB / 1.098 GB, free: 4 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.761, allocations: 109.5 kB / 1.098 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.761, allocations: 5.703 kB / 1.098 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.343e-05/0.7611, allocations: 4.328 kB / 1.098 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.7611, allocations: 6.234 kB / 1.098 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.7611, allocations: 6.031 kB / 1.098 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002001/0.7613, allocations: 194.9 kB / 1.098 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7614, allocations: 0 / 1.098 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005308/0.7619, allocations: 115.1 kB / 1.098 GB, free: 15.76 MB / 0.8731 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.0005663/0.7625, allocations: 263.5 kB / 1.099 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005702/0.763, allocations: 361.3 kB / 1.099 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.7631, allocations: 1.188 kB / 1.099 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.7632, allocations: 65.67 kB / 1.099 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.7635, allocations: 35.22 kB / 1.099 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006715/0.7642, allocations: 422.8 kB / 1.099 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.7645, allocations: 0.7434 MB / 1.1 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.051e-05/0.7646, allocations: 16.62 kB / 1.1 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of SimCode: time 1.804e-06/0.7646, allocations: 0 / 1.1 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of Templates: time 0.006512/0.7711, allocations: 3.173 MB / 1.103 GB, free: 14.2 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & ./Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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