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.001447/0.001447, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001684/0.001684, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.369/1.369, allocations: 222.9 MB / 239.9 MB, free: 4.523 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 2.566/2.566, allocations: 437 MB / 0.71 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.91 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6488/0.65, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04614/0.6962, allocations: 49.38 MB / 1.065 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01892/0.7152, allocations: 12.59 MB / 1.077 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004637/0.7199, allocations: 71.56 kB / 1.077 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003167/0.7231, allocations: 0.6525 MB / 1.078 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00784/0.731, allocations: 1.703 MB / 1.08 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00574/0.7368, allocations: 1.223 MB / 1.081 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.006559/0.7433, allocations: 3.288 MB / 1.084 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002158/0.7455, allocations: 1.225 MB / 1.085 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004711/0.7502, allocations: 1.299 MB / 1.087 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001904/0.7522, allocations: 0.972 MB / 1.087 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002054/0.7524, allocations: 96 kB / 1.088 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003394/0.7558, allocations: 1.08 MB / 1.089 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0004191/0.7562, allocations: 286.8 kB / 1.089 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001055/0.7573, allocations: 0.6761 MB / 1.09 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.004248/0.7615, allocations: 1.943 MB / 1.091 GB, free: 5.988 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.7616, allocations: 0 / 1.091 GB, free: 5.988 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.524e-06/0.7616, allocations: 0 / 1.091 GB, free: 5.988 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.827e-05/0.7616, allocations: 0 / 1.091 GB, free: 5.988 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.003673/0.7653, allocations: 1.705 MB / 1.093 GB, free: 4.23 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.387e-05/0.7653, allocations: 11.98 kB / 1.093 GB, free: 4.219 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009178/0.7663, allocations: 215 kB / 1.093 GB, free: 4.008 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002564/0.7689, allocations: 1.081 MB / 1.094 GB, free: 2.871 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004565/0.7693, allocations: 126.2 kB / 1.095 GB, free: 2.746 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.7695, allocations: 84 kB / 1.095 GB, free: 2.664 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00242/0.7719, allocations: 0.9845 MB / 1.096 GB, free: 1.613 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.772, allocations: 3.938 kB / 1.096 GB, free: 1.609 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.7721, allocations: 40 kB / 1.096 GB, free: 1.57 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.408e-05/0.7721, allocations: 24 kB / 1.096 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002012/0.7741, allocations: 0.6556 MB / 1.096 GB, free: 0.8906 MB / 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.006871/0.781, allocations: 4.408 MB / 1.101 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001666/0.7827, allocations: 410.2 kB / 1.101 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007244/0.7834, allocations: 224.7 kB / 1.101 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00136/0.7848, allocations: 1.152 MB / 1.102 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.82e-05/0.7849, allocations: 38.56 kB / 1.102 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=29): time 8.877e-06/0.7849, allocations: 0 / 1.102 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29): time 0.00391/0.7888, allocations: 1.092 MB / 1.103 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.7889, allocations: 59.34 kB / 1.103 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/0.7905, allocations: 0.9356 MB / 1.104 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.001e-05/0.7905, allocations: 33.7 kB / 1.104 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004714/0.791, allocations: 0.5812 MB / 1.105 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.7911, allocations: 106.6 kB / 1.105 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/0.7913, allocations: 106 kB / 1.105 GB, free: 7.121 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.7914, allocations: 322 kB / 1.105 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005569/0.792, allocations: 201 kB / 1.106 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007001/0.7927, allocations: 382.8 kB / 1.106 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.7939, allocations: 0.5693 MB / 1.107 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.7939, allocations: 0 / 1.107 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001601/0.7955, allocations: 0.737 MB / 1.107 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.7955, allocations: 12 kB / 1.107 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.7956, allocations: 4 kB / 1.107 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007224/0.7963, allocations: 158.4 kB / 1.107 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005715/0.7969, allocations: 139.8 kB / 1.108 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/0.798, allocations: 1.72 MB / 1.109 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007768/0.7988, allocations: 111.5 kB / 1.109 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.744e-05/0.7989, allocations: 28 kB / 1.109 GB, free: 2.508 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.000437/0.7993, allocations: 261.7 kB / 1.11 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/0.7995, allocations: 110.6 kB / 1.11 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001831/0.8013, allocations: 0.7346 MB / 1.11 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.8014, allocations: 7.938 kB / 1.11 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.8014, allocations: 0 / 1.11 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.8014, allocations: 0 / 1.11 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002875/0.8043, allocations: 1.64 MB / 1.112 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/0.8043, allocations: 4 kB / 1.112 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004736/0.8048, allocations: 91.83 kB / 1.112 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005533/0.8053, allocations: 154.5 kB / 1.112 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/0.8054, allocations: 11.98 kB / 1.112 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/0.8065, allocations: 1.708 MB / 1.114 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.8065, allocations: 4.219 kB / 1.114 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.8081, allocations: 0.7914 MB / 1.115 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003738/0.8085, allocations: 251.5 kB / 1.115 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.8086, allocations: 8 kB / 1.115 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006455/0.8092, allocations: 71.92 kB / 1.115 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.586e-05/0.8093, allocations: 31.91 kB / 1.115 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.013e-05/0.8094, allocations: 19.97 kB / 1.115 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009086/0.8103, allocations: 0.6303 MB / 1.116 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8103, allocations: 0 / 1.116 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001333/0.8116, allocations: 363.1 kB / 1.116 GB, free: 11.37 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.001034/0.8127, allocations: 390.8 kB / 1.116 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001709/0.8144, allocations: 0.5786 MB / 1.117 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.738e-05/0.8144, allocations: 0 / 1.117 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008071/0.8153, allocations: 293.3 kB / 1.117 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002236/0.8175, allocations: 0.5321 MB / 1.118 GB, free: 9.613 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003326/0.8208, allocations: 2.255 MB / 1.12 GB, free: 7.312 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006446/0.8215, allocations: 1.103 MB / 1.121 GB, free: 6.18 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0006718/0.8222, allocations: 187.9 kB / 1.121 GB, free: 5.992 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.8223, allocations: 67.42 kB / 1.121 GB, free: 5.926 MB / 0.8731 GB Notification: Performance of SimCode: time 9.31e-07/0.8223, allocations: 0 / 1.121 GB, free: 5.926 MB / 0.8731 GB Notification: Performance of Templates: time 0.04087/0.8632, allocations: 19.82 MB / 1.141 GB, free: 2.383 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=480 -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