Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002098/0.002098, 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.002437/0.002437, allocations: 199.1 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.655/1.655, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.005/3.005, allocations: 437 MB / 0.7099 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 67.89 kB / 0.8686 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.627/0.629, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05569/0.6848, allocations: 49.47 MB / 1.065 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02187/0.7067, allocations: 12.71 MB / 1.077 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003654/0.7104, allocations: 71.56 kB / 1.077 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002441/0.7129, allocations: 0.6174 MB / 1.078 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.006193/0.7191, allocations: 1.707 MB / 1.08 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004127/0.7233, allocations: 1.205 MB / 1.081 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.006334/0.7296, allocations: 4.369 MB / 1.085 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0018/0.7314, allocations: 1.071 MB / 1.086 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002883/0.7343, allocations: 1.116 MB / 1.087 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001722/0.7361, allocations: 0.9563 MB / 1.088 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001632/0.7362, allocations: 60 kB / 1.088 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003243/0.7395, allocations: 1.052 MB / 1.089 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0004073/0.7399, allocations: 258.8 kB / 1.09 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0009926/0.7409, allocations: 0.6409 MB / 1.09 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003126/0.744, allocations: 1.904 MB / 1.092 GB, free: 5.254 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.7441, allocations: 4 kB / 1.092 GB, free: 5.25 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7441, allocations: 3.938 kB / 1.092 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.619e-05/0.7441, allocations: 4 kB / 1.092 GB, free: 5.242 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002881/0.747, allocations: 1.701 MB / 1.094 GB, free: 3.488 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.747, allocations: 12.03 kB / 1.094 GB, free: 3.477 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000643/0.7477, allocations: 207.1 kB / 1.094 GB, free: 3.273 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/0.7497, allocations: 1.085 MB / 1.095 GB, free: 2.133 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003837/0.7501, allocations: 122.2 kB / 1.095 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.7502, allocations: 84 kB / 1.095 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001889/0.7521, allocations: 0.9806 MB / 1.096 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.7522, allocations: 7.938 kB / 1.096 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-05/0.7523, allocations: 36 kB / 1.096 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.261e-05/0.7523, allocations: 24 kB / 1.096 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001578/0.7539, allocations: 0.6517 MB / 1.097 GB, free: 168 kB / 0.8419 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.005562/0.7595, allocations: 4.414 MB / 1.101 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.7607, allocations: 416.6 kB / 1.102 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005647/0.7613, allocations: 220.7 kB / 1.102 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001206/0.7625, allocations: 1.156 MB / 1.103 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.7626, allocations: 38.56 kB / 1.103 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=29): time 2.614e-06/0.7626, allocations: 0 / 1.103 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29): time 0.003078/0.7657, allocations: 1.08 MB / 1.104 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.7657, allocations: 67.28 kB / 1.104 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.767, allocations: 0.9395 MB / 1.105 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.486e-05/0.767, allocations: 33.7 kB / 1.105 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004925/0.7675, allocations: 0.5773 MB / 1.106 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.7676, allocations: 102.5 kB / 1.106 GB, free: 6.496 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.7678, allocations: 106.1 kB / 1.106 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.768, allocations: 322 kB / 1.106 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005717/0.7686, allocations: 193 kB / 1.106 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007604/0.7693, allocations: 386.8 kB / 1.107 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.7706, allocations: 0.5736 MB / 1.107 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.7706, allocations: 0 / 1.107 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00174/0.7724, allocations: 0.7407 MB / 1.108 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.7724, allocations: 10.19 kB / 1.108 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.7724, allocations: 8 kB / 1.108 GB, free: 4 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007433/0.7732, allocations: 154.6 kB / 1.108 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006206/0.7738, allocations: 143.8 kB / 1.108 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/0.7751, allocations: 1.712 MB / 1.11 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008087/0.776, allocations: 111.5 kB / 1.11 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.213e-05/0.776, allocations: 31.98 kB / 1.11 GB, free: 1.77 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000467/0.7765, allocations: 265.5 kB / 1.11 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.7767, allocations: 110.6 kB / 1.11 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001932/0.7786, allocations: 0.7359 MB / 1.111 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.7786, allocations: 7.938 kB / 1.111 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.7787, allocations: 0 / 1.111 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.7787, allocations: 3.984 kB / 1.111 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003205/0.7819, allocations: 1.64 MB / 1.113 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.7819, allocations: 0 / 1.113 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004989/0.7824, allocations: 91.84 kB / 1.113 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005918/0.783, allocations: 154.7 kB / 1.113 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.7831, allocations: 8.062 kB / 1.113 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001275/0.7843, allocations: 1.715 MB / 1.115 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.7844, allocations: 3.938 kB / 1.115 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/0.7861, allocations: 0.7917 MB / 1.115 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004213/0.7866, allocations: 251.4 kB / 1.116 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.7867, allocations: 8 kB / 1.116 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006608/0.7874, allocations: 75.92 kB / 1.116 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.466e-05/0.7875, allocations: 31.89 kB / 1.116 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.535e-05/0.7875, allocations: 19.98 kB / 1.116 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009089/0.7884, allocations: 0.6342 MB / 1.116 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7885, allocations: 0 / 1.116 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001112/0.7896, allocations: 363.1 kB / 1.117 GB, free: 10.62 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009295/0.7905, allocations: 377.8 kB / 1.117 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001688/0.7922, allocations: 0.5435 MB / 1.118 GB, free: 9.703 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.7922, allocations: 4 kB / 1.118 GB, free: 9.699 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008489/0.7931, allocations: 293.2 kB / 1.118 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002375/0.7955, allocations: 0.4961 MB / 1.118 GB, free: 8.926 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003718/0.7992, allocations: 2.256 MB / 1.121 GB, free: 6.625 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007848/0.8, allocations: 1.099 MB / 1.122 GB, free: 5.496 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0007349/0.8007, allocations: 179.9 kB / 1.122 GB, free: 5.316 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.8009, allocations: 75.42 kB / 1.122 GB, free: 5.242 MB / 0.8731 GB Notification: Performance of SimCode: time 6.41e-07/0.8009, allocations: 0 / 1.122 GB, free: 5.242 MB / 0.8731 GB Notification: Performance of Templates: time 0.03739/0.8383, allocations: 19.13 MB / 1.141 GB, free: 2.367 MB / 0.8887 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches