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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.007806/0.007806, allocations: 97.56 kB / 15.73 MB, free: 6.055 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.001894/0.001894, allocations: 194.8 kB / 16.67 MB, free: 5.977 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.789/2.789, allocations: 472.6 MB / 0.7453 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001307, allocations: 60.12 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3345, allocations: 159.9 MB / 1.226 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.00286/0.3374, allocations: 1.681 MB / 1.227 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002153/0.3396, allocations: 1.374 MB / 1.229 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.3397, allocations: 4 kB / 1.229 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004048/0.3401, allocations: 83.52 kB / 1.229 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.3403, allocations: 75.52 kB / 1.229 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006869/0.341, allocations: 282.2 kB / 1.229 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.3412, allocations: 187.2 kB / 1.229 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.259e-05/0.3412, allocations: 17.47 kB / 1.229 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.3414, allocations: 79.69 kB / 1.229 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.3415, allocations: 83.61 kB / 1.229 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.3415, allocations: 4 kB / 1.229 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005212/0.3421, allocations: 347.4 kB / 1.23 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.3422, allocations: 67.72 kB / 1.23 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.3423, allocations: 91.48 kB / 1.23 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005494/0.3428, allocations: 398.6 kB / 1.23 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3429, allocations: 0 / 1.23 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3429, allocations: 0 / 1.23 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.812e-06/0.3429, allocations: 4 kB / 1.23 GB, free: 4.438 MB / 0.9825 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.0008709/0.3438, allocations: 0.5679 MB / 1.231 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.3438, allocations: 12.03 kB / 1.231 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.864e-05/0.3439, allocations: 20.8 kB / 1.231 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004704/0.3443, allocations: 279.8 kB / 1.231 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.3445, allocations: 67.95 kB / 1.231 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.3445, allocations: 384 / 1.231 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.3447, allocations: 93.72 kB / 1.231 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3447, allocations: 0 / 1.231 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.3447, allocations: 0 / 1.231 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.3447, allocations: 4 kB / 1.231 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002237/0.345, allocations: 99.94 kB / 1.231 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002775/0.3453, allocations: 253.4 kB / 1.232 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.3465, allocations: 298.4 kB / 1.232 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.3466, allocations: 56.83 kB / 1.232 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001803/0.3468, allocations: 101.1 kB / 1.232 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.3469, allocations: 42.42 kB / 1.232 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.3469, allocations: 0 / 1.232 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.000469/0.3473, allocations: 205.5 kB / 1.232 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.3474, allocations: 59.34 kB / 1.232 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.3477, allocations: 303.2 kB / 1.233 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.3477, allocations: 25.7 kB / 1.233 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.58e-05/0.3477, allocations: 124.6 kB / 1.233 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.3478, allocations: 19.84 kB / 1.233 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.76e-05/0.3479, allocations: 57.64 kB / 1.233 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.348, allocations: 342.8 kB / 1.233 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.3482, allocations: 151.9 kB / 1.233 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.3484, allocations: 151.9 kB / 1.233 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003716/0.3488, allocations: 305.4 kB / 1.234 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3488, allocations: 0 / 1.234 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004954/0.3493, allocations: 400.9 kB / 1.234 GB, free: 216 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3493, allocations: 4 kB / 1.234 GB, free: 212 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.3493, allocations: 4 kB / 1.234 GB, free: 208 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.3493, allocations: 7.984 kB / 1.234 GB, free: 200 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.905e-05/0.3494, allocations: 16.23 kB / 1.234 GB, free: 184 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3495, allocations: 0 / 1.234 GB, free: 184 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.3496, allocations: 39.61 kB / 1.234 GB, free: 144 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.3496, allocations: 7.984 kB / 1.234 GB, free: 136 kB / 0.9825 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.0001257/0.3497, allocations: 134.3 kB / 1.234 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.3498, allocations: 23.8 kB / 1.234 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003464/0.3501, allocations: 167.4 kB / 1.234 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3501, allocations: 0 / 1.234 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3501, allocations: 0 / 1.234 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3501, allocations: 0 / 1.234 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.3503, allocations: 237.6 kB / 1.235 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3504, allocations: 0 / 1.235 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.615e-05/0.3504, allocations: 23.92 kB / 1.235 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3505, allocations: 3.938 kB / 1.235 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.3505, allocations: 4 kB / 1.235 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3505, allocations: 0 / 1.235 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3505, allocations: 0 / 1.235 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003166/0.3508, allocations: 184.9 kB / 1.235 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.886e-05/0.3509, allocations: 108.8 kB / 1.235 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.3509, allocations: 4 kB / 1.235 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.865e-05/0.351, allocations: 4 kB / 1.235 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.3511, allocations: 11.92 kB / 1.235 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.3511, allocations: 4 kB / 1.235 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000159/0.3512, allocations: 193.9 kB / 1.235 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3513, allocations: 4 kB / 1.235 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003499/0.3516, allocations: 115.7 kB / 1.235 GB, free: 14.84 MB / 0.9981 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.0004627/0.3521, allocations: 266.8 kB / 1.236 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005005/0.3526, allocations: 355.2 kB / 1.236 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3526, allocations: 4 kB / 1.236 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.3527, allocations: 67.89 kB / 1.236 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.353, allocations: 36.97 kB / 1.236 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006832/0.3537, allocations: 387.9 kB / 1.236 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.3541, allocations: 0.7357 MB / 1.237 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.047e-05/0.3542, allocations: 25.02 kB / 1.237 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.762e-05/0.3542, allocations: 15.44 kB / 1.237 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.3542, allocations: 3.938 kB / 1.237 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of Templates: time 0.006798/0.361, allocations: 3.147 MB / 1.24 GB, free: 9.785 MB / 0.9981 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches