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.001624/0.001623, allocations: 107.6 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.001941/0.001941, 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.455/1.455, allocations: 222.9 MB / 241 MB, free: 15.15 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.268/2.268, allocations: 390.3 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 60.05 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8475/0.849, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002502/0.8516, allocations: 1.683 MB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001815/0.8534, allocations: 1.356 MB / 1.092 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.968e-05/0.8535, allocations: 3.906 kB / 1.092 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003888/0.8539, allocations: 77.97 kB / 1.092 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.8541, allocations: 82.25 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007216/0.8548, allocations: 278.4 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.855, allocations: 189.8 kB / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.855e-05/0.8551, allocations: 13.91 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.8552, allocations: 85.36 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.8554, allocations: 86.64 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.8554, allocations: 7.281 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005649/0.856, allocations: 335.3 kB / 1.093 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.195e-05/0.8561, allocations: 69.45 kB / 1.093 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.62e-05/0.8562, allocations: 89.91 kB / 1.093 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005567/0.8567, allocations: 401.9 kB / 1.093 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.8567, allocations: 4.688 kB / 1.093 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8567, allocations: 0 / 1.093 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.8568, allocations: 0.8438 kB / 1.093 GB, free: 2.766 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.0007992/0.8576, allocations: 0.5488 MB / 1.094 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.8576, allocations: 9.938 kB / 1.094 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.783e-05/0.8577, allocations: 29.69 kB / 1.094 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/0.8581, allocations: 275.7 kB / 1.094 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.615e-05/0.8582, allocations: 60.17 kB / 1.094 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.8582, allocations: 3.406 kB / 1.094 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.8585, allocations: 105.4 kB / 1.094 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.8585, allocations: 0 / 1.094 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.8585, allocations: 4.719 kB / 1.094 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.8585, allocations: 0.5625 kB / 1.094 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003374/0.8589, allocations: 96.7 kB / 1.094 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003097/0.8592, allocations: 252.8 kB / 1.095 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/0.8607, allocations: 297.1 kB / 1.095 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.8608, allocations: 58.38 kB / 1.095 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.8609, allocations: 96.66 kB / 1.095 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/0.861, allocations: 41.17 kB / 1.095 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.861, allocations: 0 / 1.095 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0005605/0.8615, allocations: 208.9 kB / 1.095 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.8616, allocations: 53.08 kB / 1.095 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/0.8619, allocations: 305.3 kB / 1.096 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.8619, allocations: 27.41 kB / 1.096 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.337e-05/0.862, allocations: 125.9 kB / 1.096 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.862, allocations: 19.86 kB / 1.096 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.946e-05/0.8621, allocations: 56.97 kB / 1.096 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.918e-05/0.8621, allocations: 332.5 kB / 1.096 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/0.8624, allocations: 153.2 kB / 1.096 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/0.8626, allocations: 162 kB / 1.096 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004243/0.8631, allocations: 296.1 kB / 1.097 GB, free: 468 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.8631, allocations: 0 / 1.097 GB, free: 468 kB / 0.8575 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005972/0.8637, allocations: 403.3 kB / 1.097 GB, free: 324 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.8637, allocations: 5.344 kB / 1.097 GB, free: 324 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.8637, allocations: 1.891 kB / 1.097 GB, free: 324 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.8638, allocations: 0.9062 kB / 1.097 GB, free: 324 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.8639, allocations: 14.41 kB / 1.097 GB, free: 324 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.8639, allocations: 0.6094 kB / 1.097 GB, free: 324 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.8641, allocations: 33.72 kB / 1.097 GB, free: 300 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.8641, allocations: 3.281 kB / 1.097 GB, free: 300 kB / 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 0.0001094/0.8642, allocations: 137 kB / 1.097 GB, free: 172 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/0.8642, allocations: 26.75 kB / 1.097 GB, free: 152 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004155/0.8646, allocations: 164.3 kB / 1.097 GB, free: 92 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.8647, allocations: 0.7812 kB / 1.097 GB, free: 92 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.8647, allocations: 1.875 kB / 1.097 GB, free: 92 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.8647, allocations: 4.25 kB / 1.097 GB, free: 88 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.865, allocations: 245.5 kB / 1.098 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.865, allocations: 4.703 kB / 1.098 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.933e-05/0.8651, allocations: 21.86 kB / 1.098 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.8651, allocations: 0.5 kB / 1.098 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.8651, allocations: 2.312 kB / 1.098 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.8651, allocations: 0 / 1.098 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.8651, allocations: 1.125 kB / 1.098 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003521/0.8655, allocations: 188.6 kB / 1.098 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-05/0.8656, allocations: 109.2 kB / 1.098 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.8656, allocations: 1.094 kB / 1.098 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.801e-05/0.8657, allocations: 5.109 kB / 1.098 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/0.8658, allocations: 13.23 kB / 1.098 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.8658, allocations: 5.734 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002146/0.866, allocations: 195.3 kB / 1.098 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.866, allocations: 0 / 1.098 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005377/0.8666, allocations: 115.3 kB / 1.098 GB, free: 15.5 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.0005289/0.8671, allocations: 255.3 kB / 1.099 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005751/0.8677, allocations: 366.3 kB / 1.099 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8677, allocations: 0 / 1.099 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.8678, allocations: 62.02 kB / 1.099 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.8682, allocations: 38.58 kB / 1.099 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006761/0.8688, allocations: 420.2 kB / 1.099 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.8692, allocations: 0.7347 MB / 1.1 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.138e-05/0.8692, allocations: 21.52 kB / 1.1 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of SimCode: time 3.41e-07/0.8693, allocations: 4 kB / 1.1 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of Templates: time 0.006546/0.8758, allocations: 3.167 MB / 1.103 GB, free: 13.95 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