Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001732/0.001732, allocations: 106 kB / 16.36 MB, free: 5.875 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.002121/0.002121, allocations: 191 kB / 17.29 MB, free: 5.516 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.58/2.58, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 72.92 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3282, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.7151/1.043, allocations: 171.1 MB / 1.194 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006985/1.05, allocations: 4.295 MB / 1.198 GB, free: 7.074 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007387/1.051, allocations: 22.19 kB / 1.198 GB, free: 7.066 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0009909/1.052, allocations: 354.1 kB / 1.198 GB, free: 6.781 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002967/1.055, allocations: 1.223 MB / 1.2 GB, free: 5.828 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002058/1.057, allocations: 0.7899 MB / 1.2 GB, free: 5.234 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002212/1.059, allocations: 1.69 MB / 1.202 GB, free: 4.266 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000757/1.06, allocations: 0.5697 MB / 1.203 GB, free: 3.914 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001235/1.061, allocations: 0.6808 MB / 1.203 GB, free: 3.516 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/1.063, allocations: 0.5535 MB / 1.204 GB, free: 3.199 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.235e-05/1.063, allocations: 65.59 kB / 1.204 GB, free: 3.199 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001572/1.064, allocations: 0.7963 MB / 1.205 GB, free: 2.777 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002653/1.065, allocations: 282.2 kB / 1.205 GB, free: 2.586 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004125/1.065, allocations: 398.9 kB / 1.205 GB, free: 2.344 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001637/1.067, allocations: 1.27 MB / 1.206 GB, free: 1.516 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/1.067, allocations: 0 / 1.206 GB, free: 1.516 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.533e-06/1.067, allocations: 3.938 kB / 1.206 GB, free: 1.512 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.217e-05/1.067, allocations: 0 / 1.206 GB, free: 1.512 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001682/1.068, allocations: 1.029 MB / 1.207 GB, free: 0.6992 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/1.068, allocations: 13.59 kB / 1.207 GB, free: 0.6953 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009804/1.069, allocations: 163 kB / 1.208 GB, free: 0.6211 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009003/1.07, allocations: 0.536 MB / 1.208 GB, free: 172 kB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/1.07, allocations: 47.72 kB / 1.208 GB, free: 148 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.793e-05/1.07, allocations: 51.25 kB / 1.208 GB, free: 132 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/1.071, allocations: 0.6492 MB / 1.209 GB, free: 15.73 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/1.072, allocations: 0 / 1.209 GB, free: 15.73 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.907e-05/1.072, allocations: 23.56 kB / 1.209 GB, free: 15.72 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.993e-05/1.072, allocations: 21.75 kB / 1.209 GB, free: 15.72 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008871/1.073, allocations: 0.5136 MB / 1.209 GB, free: 15.47 MB / 0.92 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003277/1.076, allocations: 2.296 MB / 1.212 GB, free: 13.57 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005093/1.076, allocations: 256.8 kB / 1.212 GB, free: 13.43 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/1.077, allocations: 132.7 kB / 1.212 GB, free: 13.37 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/1.077, allocations: 10.33 kB / 1.212 GB, free: 13.36 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/1.077, allocations: 47.41 kB / 1.212 GB, free: 13.31 MB / 0.92 GB Notification: Performance of pre-optimization done (n=20): time 1.343e-06/1.077, allocations: 0 / 1.212 GB, free: 13.31 MB / 0.92 GB Notification: Performance of matching and sorting (n=20): time 0.001691/1.078, allocations: 0.6617 MB / 1.213 GB, free: 12.85 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/1.078, allocations: 87.83 kB / 1.213 GB, free: 12.75 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006193/1.079, allocations: 0.5551 MB / 1.213 GB, free: 12.41 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/1.079, allocations: 31.92 kB / 1.213 GB, free: 12.38 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/1.079, allocations: 333.2 kB / 1.214 GB, free: 12.09 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.834e-05/1.079, allocations: 73.08 kB / 1.214 GB, free: 12.02 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/1.08, allocations: 69.56 kB / 1.214 GB, free: 11.98 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001427/1.08, allocations: 361 kB / 1.214 GB, free: 11.62 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/1.08, allocations: 135.9 kB / 1.214 GB, free: 11.56 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002961/1.08, allocations: 211 kB / 1.215 GB, free: 11.4 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005142/1.081, allocations: 342.1 kB / 1.215 GB, free: 11.17 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/1.081, allocations: 2.969 kB / 1.215 GB, free: 11.17 MB / 0.92 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008972/1.082, allocations: 493.9 kB / 1.215 GB, free: 10.91 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/1.082, allocations: 4.812 kB / 1.215 GB, free: 10.91 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/1.082, allocations: 2.75 kB / 1.215 GB, free: 10.91 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003397/1.082, allocations: 101 kB / 1.215 GB, free: 10.85 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/1.082, allocations: 65.19 kB / 1.215 GB, free: 10.84 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002973/1.085, allocations: 3.352 MB / 1.219 GB, free: 7.625 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000549/1.086, allocations: 54.36 kB / 1.219 GB, free: 7.586 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/1.086, allocations: 14.22 kB / 1.219 GB, free: 7.582 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003141/1.086, allocations: 211.1 kB / 1.219 GB, free: 7.41 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/1.086, allocations: 56.66 kB / 1.219 GB, free: 7.383 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.427e-05/1.087, allocations: 62.62 kB / 1.219 GB, free: 7.336 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/1.087, allocations: 4 kB / 1.219 GB, free: 7.332 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/1.087, allocations: 2.406 kB / 1.219 GB, free: 7.332 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000729/1.087, allocations: 0.529 MB / 1.22 GB, free: 6.859 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/1.089, allocations: 0.9255 MB / 1.221 GB, free: 6.109 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/1.089, allocations: 4 kB / 1.221 GB, free: 6.105 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/1.089, allocations: 43.91 kB / 1.221 GB, free: 6.062 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002301/1.089, allocations: 60.81 kB / 1.221 GB, free: 6 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/1.089, allocations: 4 kB / 1.221 GB, free: 5.996 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001961/1.091, allocations: 1.821 MB / 1.222 GB, free: 4.039 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/1.091, allocations: 3.938 kB / 1.222 GB, free: 4.035 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007764/1.092, allocations: 437.3 kB / 1.223 GB, free: 3.582 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003149/1.092, allocations: 176.4 kB / 1.223 GB, free: 3.391 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.916e-05/1.093, allocations: 7.938 kB / 1.223 GB, free: 3.383 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004131/1.093, allocations: 17.11 kB / 1.223 GB, free: 3.367 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.166e-05/1.093, allocations: 23.97 kB / 1.223 GB, free: 3.344 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.527e-05/1.093, allocations: 12 kB / 1.223 GB, free: 3.332 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004932/1.094, allocations: 398.8 kB / 1.223 GB, free: 2.945 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.81e-07/1.094, allocations: 3.938 kB / 1.223 GB, free: 2.941 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007704/1.094, allocations: 199.7 kB / 1.224 GB, free: 2.746 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000408/1.095, allocations: 159.5 kB / 1.224 GB, free: 2.586 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0009145/1.096, allocations: 0.5288 MB / 1.224 GB, free: 2.031 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.096, allocations: 0.5625 kB / 1.224 GB, free: 2.031 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003497/1.096, allocations: 266.4 kB / 1.225 GB, free: 1.758 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/1.098, allocations: 373.1 kB / 1.225 GB, free: 1.402 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/1.099, allocations: 0.9752 MB / 1.226 GB, free: 404 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004948/1.1, allocations: 0.9093 MB / 1.227 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003822/1.1, allocations: 116.8 kB / 1.227 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.977e-05/1.1, allocations: 39.44 kB / 1.227 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of SimCode: time 3.7e-07/1.1, allocations: 0 / 1.227 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of Templates: time 0.02228/1.123, allocations: 13.02 MB / 1.24 GB, free: 2.477 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches