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.00177/0.00177, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002163/0.002163, allocations: 192.3 kB / 16.14 MB, free: 6.711 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.43/1.43, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.875/2.875, allocations: 472.7 MB / 0.7447 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 64.69 kB / 0.9114 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4136, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.004743/0.4184, allocations: 1.728 MB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003902/0.4223, allocations: 1.402 MB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002069/0.4225, allocations: 7.938 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005865/0.4232, allocations: 75.7 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002796/0.4235, allocations: 79.58 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.4246, allocations: 215.5 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004157/0.425, allocations: 259.1 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.443e-05/0.4251, allocations: 9.484 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.4253, allocations: 83.62 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002425/0.4256, allocations: 91.67 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/0.4256, allocations: 4 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009553/0.4266, allocations: 355.4 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.4268, allocations: 67.73 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.427, allocations: 95.41 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009568/0.428, allocations: 394.9 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.428, allocations: 3.938 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.593e-06/0.428, allocations: 0 / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.428, allocations: 0 / 1.072 GB, free: 5.941 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.001386/0.4294, allocations: 0.5529 MB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.4295, allocations: 8.031 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.4296, allocations: 24.66 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000673/0.4303, allocations: 279.6 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001791/0.4305, allocations: 63.95 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.4305, allocations: 4.375 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000354/0.4309, allocations: 93.66 kB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.4309, allocations: 0 / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.431, allocations: 8 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.431, allocations: 3.938 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004438/0.4315, allocations: 103.9 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004668/0.4319, allocations: 245.4 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002602/0.4346, allocations: 294.4 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/0.4348, allocations: 68.83 kB / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000202/0.4351, allocations: 97.08 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.4351, allocations: 42.44 kB / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 3.176e-06/0.4352, allocations: 0 / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0009317/0.4361, allocations: 209.2 kB / 1.074 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.4362, allocations: 51.41 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005508/0.4367, allocations: 299.2 kB / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.4368, allocations: 29.7 kB / 1.075 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.4369, allocations: 124.6 kB / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.461e-05/0.437, allocations: 15.66 kB / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.4372, allocations: 65.69 kB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002155/0.4374, allocations: 330.8 kB / 1.075 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000421/0.4378, allocations: 159.7 kB / 1.075 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004131/0.4383, allocations: 155.9 kB / 1.075 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007209/0.439, allocations: 301.6 kB / 1.076 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.439, allocations: 0 / 1.076 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001015/0.44, allocations: 389 kB / 1.076 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.4401, allocations: 8 kB / 1.076 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/0.4401, allocations: 3.984 kB / 1.076 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.4401, allocations: 7.984 kB / 1.076 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.4403, allocations: 12 kB / 1.076 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.4403, allocations: 0 / 1.076 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.4406, allocations: 35.58 kB / 1.076 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.4406, allocations: 4 kB / 1.076 GB, free: 1.668 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.0001914/0.4408, allocations: 135.5 kB / 1.076 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.948e-05/0.4409, allocations: 23.66 kB / 1.076 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006234/0.4415, allocations: 163.5 kB / 1.077 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.4416, allocations: 0 / 1.077 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.4416, allocations: 7.984 kB / 1.077 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4416, allocations: 3.938 kB / 1.077 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003445/0.4419, allocations: 241.5 kB / 1.077 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.442, allocations: 0 / 1.077 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.4421, allocations: 23.88 kB / 1.077 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.4422, allocations: 0 / 1.077 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.4422, allocations: 4 kB / 1.077 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.4422, allocations: 320 / 1.077 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.4422, allocations: 3.984 kB / 1.077 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005548/0.4428, allocations: 188.8 kB / 1.077 GB, free: 0.8086 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.4429, allocations: 112.7 kB / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.508e-05/0.443, allocations: 0 / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.4432, allocations: 7.984 kB / 1.077 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.515e-05/0.4433, allocations: 4 kB / 1.077 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.4433, allocations: 0 / 1.077 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003354/0.4436, allocations: 201.9 kB / 1.077 GB, free: 480 kB / 0.8262 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4437, allocations: 0 / 1.077 GB, free: 480 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0007333/0.4444, allocations: 115.9 kB / 1.077 GB, free: 364 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.000937/0.4454, allocations: 263 kB / 1.078 GB, free: 88 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009631/0.4463, allocations: 359.3 kB / 1.078 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.4464, allocations: 0 / 1.078 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002345/0.4466, allocations: 59.91 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004964/0.4471, allocations: 37.69 kB / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.4482, allocations: 426 kB / 1.078 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004581/0.4487, allocations: 0.7399 MB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001737/0.4488, allocations: 17.34 kB / 1.079 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.4489, allocations: 15.44 kB / 1.079 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of SimCode: time 4.1e-07/0.4489, allocations: 3.938 kB / 1.079 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of Templates: time 0.01216/0.4611, allocations: 3.031 MB / 1.082 GB, free: 11.39 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