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.001049/0.001049, allocations: 108 kB / 15.6 MB, free: 132 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.00126/0.00126, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.472/1.472, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.891/2.891, allocations: 472.6 MB / 0.7451 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 67.52 kB / 0.9121 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3764, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002769/0.3792, allocations: 1.667 MB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001936/0.3811, allocations: 1.375 MB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.732e-05/0.3812, allocations: 4 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003582/0.3816, allocations: 91.52 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.3817, allocations: 71.58 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006996/0.3825, allocations: 278.7 kB / 1.072 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.3826, allocations: 187.2 kB / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.921e-05/0.3827, allocations: 21.47 kB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.3828, allocations: 75.7 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.3829, allocations: 87.59 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.383, allocations: 8 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005082/0.3835, allocations: 335.4 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.281e-05/0.3836, allocations: 63.78 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.092e-05/0.3837, allocations: 91.47 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004554/0.3842, allocations: 398.8 kB / 1.073 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3842, allocations: 0 / 1.073 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3842, allocations: 0 / 1.073 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.279e-06/0.3842, allocations: 0 / 1.073 GB, free: 5.641 MB / 0.8262 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.0007901/0.385, allocations: 0.5607 MB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.385, allocations: 8.031 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.812e-05/0.3851, allocations: 20.66 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.3854, allocations: 275.6 kB / 1.074 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.3855, allocations: 67.95 kB / 1.074 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.3856, allocations: 4.375 kB / 1.074 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.3858, allocations: 93.72 kB / 1.074 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.3858, allocations: 0 / 1.074 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.3858, allocations: 0 / 1.074 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3858, allocations: 0 / 1.074 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002416/0.3861, allocations: 107.9 kB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002587/0.3863, allocations: 245.4 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.3877, allocations: 302.3 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.3879, allocations: 60.77 kB / 1.074 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001389/0.388, allocations: 101.1 kB / 1.075 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.388, allocations: 38.5 kB / 1.075 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.3881, allocations: 0 / 1.075 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0004669/0.3885, allocations: 205.2 kB / 1.075 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.3886, allocations: 59.34 kB / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002647/0.3888, allocations: 303.2 kB / 1.075 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.3889, allocations: 25.7 kB / 1.075 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.93e-05/0.389, allocations: 124.6 kB / 1.075 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.389, allocations: 19.66 kB / 1.075 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.721e-05/0.3891, allocations: 53.69 kB / 1.075 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.3892, allocations: 338.8 kB / 1.076 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.3894, allocations: 163.7 kB / 1.076 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.3896, allocations: 151.9 kB / 1.076 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/0.39, allocations: 293.6 kB / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.39, allocations: 0 / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005484/0.3905, allocations: 405 kB / 1.077 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.3905, allocations: 4 kB / 1.077 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.3906, allocations: 4 kB / 1.077 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.3906, allocations: 0 / 1.077 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.351e-05/0.3907, allocations: 19.92 kB / 1.077 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.3907, allocations: 0 / 1.077 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.3908, allocations: 39.52 kB / 1.077 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.3908, allocations: 4 kB / 1.077 GB, free: 1.359 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.0001034/0.3909, allocations: 131.6 kB / 1.077 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.851e-05/0.391, allocations: 23.66 kB / 1.077 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003498/0.3913, allocations: 163.8 kB / 1.077 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3913, allocations: 4 kB / 1.077 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3914, allocations: 0 / 1.077 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3914, allocations: 0 / 1.077 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.3916, allocations: 241.5 kB / 1.077 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3916, allocations: 3.938 kB / 1.077 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.3917, allocations: 19.92 kB / 1.077 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3917, allocations: 0 / 1.077 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.3917, allocations: 4 kB / 1.077 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3917, allocations: 0 / 1.077 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3917, allocations: 4 kB / 1.077 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003131/0.392, allocations: 180.8 kB / 1.077 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.28e-05/0.3921, allocations: 104.8 kB / 1.078 GB, free: 408 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.3921, allocations: 8 kB / 1.078 GB, free: 400 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.5e-05/0.3922, allocations: 7.984 kB / 1.078 GB, free: 392 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.3923, allocations: 11.88 kB / 1.078 GB, free: 380 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.3923, allocations: 4 kB / 1.078 GB, free: 376 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001653/0.3925, allocations: 197.9 kB / 1.078 GB, free: 176 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3925, allocations: 0 / 1.078 GB, free: 176 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004008/0.3929, allocations: 119.9 kB / 1.078 GB, free: 56 kB / 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.0004791/0.3934, allocations: 259.6 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004747/0.3939, allocations: 355.4 kB / 1.079 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3939, allocations: 0 / 1.079 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.394, allocations: 63.91 kB / 1.079 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.3943, allocations: 37.53 kB / 1.079 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005958/0.3949, allocations: 392.1 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.3952, allocations: 0.7357 MB / 1.08 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.732e-05/0.3953, allocations: 25.02 kB / 1.08 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.3953, allocations: 15.44 kB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.3953, allocations: 0 / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of Templates: time 0.006315/0.4016, allocations: 3.155 MB / 1.083 GB, free: 11.01 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/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