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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009271/0.0009272, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 177.5 kB / 16.92 MB, free: 6.652 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.354/1.354, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.615/2.615, allocations: 462.7 MB / 0.7371 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003842/0.0003843, allocations: 12.33 kB / 0.9034 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3328, allocations: 159.6 MB / 1.059 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002177/0.335, allocations: 1.391 MB / 1.061 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002376/0.3374, allocations: 1.379 MB / 1.062 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.3376, allocations: 8 kB / 1.062 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00044/0.3381, allocations: 79.64 kB / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000193/0.3383, allocations: 71.58 kB / 1.062 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008219/0.3391, allocations: 219.5 kB / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003473/0.3395, allocations: 255.1 kB / 1.063 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.317e-05/0.3395, allocations: 13.5 kB / 1.063 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.3397, allocations: 79.62 kB / 1.063 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.3399, allocations: 87.61 kB / 1.063 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.34, allocations: 11.94 kB / 1.063 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006724/0.3406, allocations: 359.4 kB / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.3408, allocations: 59.8 kB / 1.063 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.3409, allocations: 117.2 kB / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004644/0.3414, allocations: 271.4 kB / 1.064 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3414, allocations: 0 / 1.064 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3414, allocations: 3.938 kB / 1.064 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.926e-06/0.3414, allocations: 4 kB / 1.064 GB, free: 0.5195 MB / 0.8106 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.0009858/0.3424, allocations: 0.5258 MB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.3425, allocations: 15.97 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.83e-05/0.3426, allocations: 24.66 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004083/0.343, allocations: 275.6 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.3431, allocations: 67.95 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.3431, allocations: 4.375 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.3433, allocations: 93.78 kB / 1.065 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.3434, allocations: 3.984 kB / 1.065 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.3434, allocations: 4 kB / 1.065 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3434, allocations: 0 / 1.065 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002468/0.3436, allocations: 115.9 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002788/0.3439, allocations: 249.3 kB / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0014/0.3453, allocations: 334.4 kB / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.3455, allocations: 60.83 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000158/0.3457, allocations: 105.1 kB / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.3457, allocations: 34.5 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.3457, allocations: 0 / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0005077/0.3462, allocations: 217.3 kB / 1.066 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.3463, allocations: 51.41 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003054/0.3466, allocations: 303.2 kB / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.3466, allocations: 25.7 kB / 1.066 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.3467, allocations: 128.5 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.3467, allocations: 11.75 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-05/0.3468, allocations: 49.69 kB / 1.066 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.347, allocations: 338.8 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.3472, allocations: 155.9 kB / 1.067 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.3474, allocations: 155.9 kB / 1.067 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004076/0.3478, allocations: 297.6 kB / 1.067 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3478, allocations: 0 / 1.067 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006104/0.3485, allocations: 416.7 kB / 1.067 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.3485, allocations: 4 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.3485, allocations: 4 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3485, allocations: 3.938 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.307e-05/0.3486, allocations: 15.98 kB / 1.068 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.3486, allocations: 3.938 kB / 1.068 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.3488, allocations: 31.59 kB / 1.068 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.3488, allocations: 160 / 1.068 GB, free: 12.21 MB / 0.8262 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.0001338/0.3489, allocations: 141.8 kB / 1.068 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.349, allocations: 23.66 kB / 1.068 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003725/0.3493, allocations: 179.3 kB / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.3493, allocations: 4 kB / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3494, allocations: 0 / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.3494, allocations: 0 / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.3496, allocations: 233.6 kB / 1.068 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3496, allocations: 0 / 1.068 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.662e-05/0.3497, allocations: 20.23 kB / 1.068 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3497, allocations: 4 kB / 1.068 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.3497, allocations: 4 kB / 1.068 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3497, allocations: 0 / 1.068 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3497, allocations: 0 / 1.068 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.35, allocations: 192.7 kB / 1.068 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.913e-05/0.3501, allocations: 108.8 kB / 1.068 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.3501, allocations: 0 / 1.068 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.136e-05/0.3502, allocations: 8 kB / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.3503, allocations: 11.98 kB / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.3503, allocations: 0 / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001632/0.3505, allocations: 197.9 kB / 1.069 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of sort global known variables: time 5.01e-07/0.3505, allocations: 0 / 1.069 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000378/0.3508, allocations: 115.9 kB / 1.069 GB, free: 10.9 MB / 0.8262 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.000503/0.3514, allocations: 259 kB / 1.069 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005304/0.3519, allocations: 363 kB / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3519, allocations: 7.938 kB / 1.069 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.352, allocations: 59.97 kB / 1.069 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.3524, allocations: 40.56 kB / 1.069 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006822/0.3531, allocations: 483 kB / 1.07 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.3534, allocations: 0.7437 MB / 1.071 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.799e-05/0.3535, allocations: 15.44 kB / 1.071 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3535, allocations: 0 / 1.071 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of Templates: time 0.00592/0.3594, allocations: 3.139 MB / 1.074 GB, free: 5.75 MB / 0.8262 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