Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001065/0.001065, allocations: 189.4 kB / 16.13 MB, free: 6.645 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.465/1.465, allocations: 222.9 MB / 239.8 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.565/2.565, allocations: 390.2 MB / 0.6642 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 67.88 kB / 0.8119 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8621/0.8633, allocations: 140.4 MB / 0.9489 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2298/1.093, allocations: 185.1 MB / 1.13 GB, free: 8.422 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02007/1.113, allocations: 13.12 MB / 1.142 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00175/1.115, allocations: 31.81 kB / 1.142 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001492/1.117, allocations: 346 kB / 1.143 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003603/1.12, allocations: 1.089 MB / 1.144 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001954/1.122, allocations: 0.6248 MB / 1.144 GB, free: 9.172 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003577/1.126, allocations: 2.778 MB / 1.147 GB, free: 6.391 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/1.127, allocations: 0.7309 MB / 1.148 GB, free: 5.641 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004844/1.132, allocations: 1.658 MB / 1.15 GB, free: 3.977 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002209/1.134, allocations: 0.6852 MB / 1.15 GB, free: 3.293 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001223/1.134, allocations: 44 kB / 1.15 GB, free: 3.25 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002599/1.137, allocations: 0.9819 MB / 1.151 GB, free: 2.266 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004645/1.137, allocations: 351 kB / 1.152 GB, free: 1.922 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000661/1.138, allocations: 469.6 kB / 1.152 GB, free: 1.461 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00232/1.14, allocations: 1.499 MB / 1.153 GB, free: 15.95 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/1.14, allocations: 0 / 1.153 GB, free: 15.95 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.653e-06/1.14, allocations: 0 / 1.153 GB, free: 15.95 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.316e-05/1.14, allocations: 0 / 1.153 GB, free: 15.95 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002046/1.142, allocations: 1.231 MB / 1.155 GB, free: 14.68 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/1.142, allocations: 12.03 kB / 1.155 GB, free: 14.66 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/1.144, allocations: 214.5 kB / 1.155 GB, free: 14.45 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/1.145, allocations: 0.648 MB / 1.155 GB, free: 13.76 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.177e-05/1.145, allocations: 61.98 kB / 1.156 GB, free: 13.7 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/1.145, allocations: 72 kB / 1.156 GB, free: 13.63 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/1.146, allocations: 0.9366 MB / 1.157 GB, free: 12.61 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/1.146, allocations: 3.938 kB / 1.157 GB, free: 12.6 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.902e-05/1.146, allocations: 39.94 kB / 1.157 GB, free: 12.56 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-05/1.147, allocations: 29.3 kB / 1.157 GB, free: 12.54 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009869/1.148, allocations: 0.6138 MB / 1.157 GB, free: 11.92 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.004685/1.152, allocations: 4.601 MB / 1.162 GB, free: 7.027 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008166/1.153, allocations: 0.541 MB / 1.162 GB, free: 6.441 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003352/1.153, allocations: 242.5 kB / 1.162 GB, free: 6.195 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001981/1.154, allocations: 97.78 kB / 1.163 GB, free: 6.082 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/1.154, allocations: 42.56 kB / 1.163 GB, free: 6.031 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 2.404e-06/1.154, allocations: 0 / 1.163 GB, free: 6.031 MB / 0.92 GB Notification: Performance of matching and sorting (n=45): time 0.002919/1.157, allocations: 1.59 MB / 1.164 GB, free: 4.383 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.822e-05/1.157, allocations: 110.8 kB / 1.164 GB, free: 4.25 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008743/1.158, allocations: 0.7157 MB / 1.165 GB, free: 3.523 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.549e-05/1.158, allocations: 37.7 kB / 1.165 GB, free: 3.48 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003177/1.158, allocations: 411.8 kB / 1.165 GB, free: 3.07 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/1.158, allocations: 165.6 kB / 1.166 GB, free: 2.906 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/1.158, allocations: 114.2 kB / 1.166 GB, free: 2.785 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001208/1.158, allocations: 334 kB / 1.166 GB, free: 2.453 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002859/1.159, allocations: 181.2 kB / 1.166 GB, free: 2.277 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004719/1.159, allocations: 425 kB / 1.167 GB, free: 1.766 MB / 0.92 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002281/1.161, allocations: 1.182 MB / 1.168 GB, free: 492 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/1.161, allocations: 0 / 1.168 GB, free: 492 kB / 0.92 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001013/1.162, allocations: 0.6712 MB / 1.168 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/1.163, allocations: 11.94 kB / 1.168 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/1.163, allocations: 4 kB / 1.168 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/1.163, allocations: 12.88 kB / 1.168 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004678/1.163, allocations: 127.8 kB / 1.169 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.775e-05/1.163, allocations: 15.98 kB / 1.169 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006779/1.164, allocations: 54.31 kB / 1.169 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.672e-05/1.164, allocations: 39.98 kB / 1.169 GB, free: 15.54 MB / 0.9356 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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 prepare postOptimizeDAE: time 0.0004981/1.164, allocations: 273.5 kB / 1.169 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/1.165, allocations: 83 kB / 1.169 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/1.165, allocations: 91.66 kB / 1.169 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/1.165, allocations: 7.938 kB / 1.169 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/1.165, allocations: 0 / 1.169 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007521/1.165, allocations: 0.6999 MB / 1.17 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002467/1.168, allocations: 1.642 MB / 1.171 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/1.168, allocations: 4 kB / 1.171 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004432/1.168, allocations: 103.8 kB / 1.171 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/1.168, allocations: 8.438 kB / 1.171 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.606e-05/1.168, allocations: 23.98 kB / 1.171 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/1.168, allocations: 8 kB / 1.171 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/1.169, allocations: 7.938 kB / 1.171 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/1.17, allocations: 0.8569 MB / 1.172 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003577/1.17, allocations: 212.1 kB / 1.173 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/1.17, allocations: 16 kB / 1.173 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005491/1.171, allocations: 45.84 kB / 1.173 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.778e-05/1.171, allocations: 35.84 kB / 1.173 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-05/1.171, allocations: 19.98 kB / 1.173 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007691/1.172, allocations: 0.5068 MB / 1.173 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/1.172, allocations: 0 / 1.173 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009531/1.173, allocations: 212 kB / 1.173 GB, free: 10.43 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006311/1.173, allocations: 194.9 kB / 1.174 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008987/1.174, allocations: 479.9 kB / 1.174 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.174, allocations: 0 / 1.174 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003033/1.174, allocations: 214.1 kB / 1.174 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002023/1.176, allocations: 442.8 kB / 1.175 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002774/1.179, allocations: 1.954 MB / 1.177 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000589/1.18, allocations: 1.032 MB / 1.178 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0007421/1.181, allocations: 195 kB / 1.178 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/1.181, allocations: 63.42 kB / 1.178 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of SimCode: time 6.61e-07/1.181, allocations: 0 / 1.178 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of Templates: time 0.02705/1.208, allocations: 14.47 MB / 1.192 GB, free: 7.555 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches