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.001322/0.001322, allocations: 103.8 kB / 16.27 MB, free: 6.414 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.001331/0.001331, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.332/1.332, allocations: 222.9 MB / 240.9 MB, free: 15.26 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: 469.4 MB / 0.7427 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 68.42 kB / 0.9088 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3438, allocations: 159.1 MB / 1.064 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.003163/0.347, allocations: 1.667 MB / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002296/0.3493, allocations: 1.379 MB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.3495, allocations: 4 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000433/0.35, allocations: 83.53 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.3502, allocations: 75.58 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009418/0.3511, allocations: 276.9 kB / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002592/0.3514, allocations: 187.2 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.5e-05/0.3514, allocations: 9.484 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.3516, allocations: 79.69 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.3517, allocations: 83.62 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.3518, allocations: 8 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005725/0.3523, allocations: 343.4 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.3525, allocations: 67.78 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.3526, allocations: 91.42 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006226/0.3532, allocations: 394.9 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3532, allocations: 0 / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3532, allocations: 0 / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.3532, allocations: 0 / 1.069 GB, free: 10.25 MB / 0.8419 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.0009663/0.3542, allocations: 0.5491 MB / 1.069 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3543, allocations: 12.62 kB / 1.069 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.436e-05/0.3543, allocations: 24.56 kB / 1.069 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004183/0.3548, allocations: 283.7 kB / 1.07 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/0.3549, allocations: 55.97 kB / 1.07 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.3549, allocations: 4.375 kB / 1.07 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.3551, allocations: 93.72 kB / 1.07 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.3552, allocations: 0 / 1.07 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.3552, allocations: 11.98 kB / 1.07 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3552, allocations: 0 / 1.07 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002491/0.3554, allocations: 95.94 kB / 1.07 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002905/0.3557, allocations: 261.3 kB / 1.07 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.3571, allocations: 294.4 kB / 1.07 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.3573, allocations: 60.83 kB / 1.07 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001794/0.3575, allocations: 101 kB / 1.071 GB, free: 8.246 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.3575, allocations: 34.5 kB / 1.071 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.3575, allocations: 0 / 1.071 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.000529/0.3581, allocations: 205.3 kB / 1.071 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.3581, allocations: 51.41 kB / 1.071 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003114/0.3584, allocations: 311 kB / 1.071 GB, free: 7.621 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.3585, allocations: 25.7 kB / 1.071 GB, free: 7.59 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.439e-05/0.3586, allocations: 124.6 kB / 1.071 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.3586, allocations: 19.66 kB / 1.071 GB, free: 7.445 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.337e-05/0.3587, allocations: 65.67 kB / 1.071 GB, free: 7.375 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3588, allocations: 330.8 kB / 1.072 GB, free: 7.043 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.3591, allocations: 155.9 kB / 1.072 GB, free: 6.891 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.3593, allocations: 155.9 kB / 1.072 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004192/0.3597, allocations: 297.6 kB / 1.072 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3597, allocations: 0 / 1.072 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005818/0.3603, allocations: 396.8 kB / 1.073 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.3603, allocations: 8 kB / 1.073 GB, free: 6.039 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.3604, allocations: 4 kB / 1.073 GB, free: 6.035 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.3604, allocations: 0 / 1.073 GB, free: 6.035 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.962e-05/0.3605, allocations: 19.98 kB / 1.073 GB, free: 6.016 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.3605, allocations: 3.938 kB / 1.073 GB, free: 6.012 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.3606, allocations: 31.78 kB / 1.073 GB, free: 5.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.3606, allocations: 8 kB / 1.073 GB, free: 5.973 MB / 0.8419 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.0001113/0.3608, allocations: 129.8 kB / 1.073 GB, free: 5.836 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.3608, allocations: 27.66 kB / 1.073 GB, free: 5.809 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003604/0.3612, allocations: 171.6 kB / 1.073 GB, free: 5.637 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.3612, allocations: 4 kB / 1.073 GB, free: 5.633 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3612, allocations: 0 / 1.073 GB, free: 5.633 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3612, allocations: 0 / 1.073 GB, free: 5.633 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.3614, allocations: 233.6 kB / 1.073 GB, free: 5.355 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3614, allocations: 0 / 1.073 GB, free: 5.355 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.3615, allocations: 27.88 kB / 1.073 GB, free: 5.328 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.3615, allocations: 3.984 kB / 1.073 GB, free: 5.324 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.3616, allocations: 3.938 kB / 1.073 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3616, allocations: 0 / 1.073 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3616, allocations: 4 kB / 1.073 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003062/0.3619, allocations: 180.7 kB / 1.073 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.573e-05/0.362, allocations: 108.8 kB / 1.074 GB, free: 4.996 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.035e-05/0.362, allocations: 3.984 kB / 1.074 GB, free: 4.992 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.305e-05/0.3621, allocations: 4 kB / 1.074 GB, free: 4.988 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.3622, allocations: 7.984 kB / 1.074 GB, free: 4.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.3622, allocations: 4 kB / 1.074 GB, free: 4.977 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001688/0.3623, allocations: 193.9 kB / 1.074 GB, free: 4.785 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.245e-06/0.3623, allocations: 4 kB / 1.074 GB, free: 4.781 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003795/0.3627, allocations: 115.9 kB / 1.074 GB, free: 4.668 MB / 0.8419 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.0005583/0.3633, allocations: 255.6 kB / 1.074 GB, free: 4.406 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005497/0.3639, allocations: 359.3 kB / 1.075 GB, free: 4.043 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3639, allocations: 3.938 kB / 1.075 GB, free: 4.039 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.364, allocations: 59.91 kB / 1.075 GB, free: 3.98 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.3643, allocations: 36.88 kB / 1.075 GB, free: 3.945 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006024/0.3649, allocations: 429.8 kB / 1.075 GB, free: 3.496 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.3652, allocations: 0.7357 MB / 1.076 GB, free: 2.734 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.3652, allocations: 15.44 kB / 1.076 GB, free: 2.719 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.3652, allocations: 4 kB / 1.076 GB, free: 2.715 MB / 0.8419 GB Notification: Performance of Templates: time 0.4676/0.8329, allocations: 3.154 MB / 1.079 GB, free: 22.27 MB / 0.8419 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