Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 95.92 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 206.6 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.574/1.574, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.163/3.163, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 74.94 kB / 1.155 GB, free: 25.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2997, allocations: 176.1 MB / 1.327 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2017/0.5014, allocations: 165.7 MB / 1.489 GB, free: 10.64 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01628/0.5176, allocations: 12.03 MB / 1.501 GB, free: 14.58 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009921/0.5186, allocations: 43.62 kB / 1.501 GB, free: 14.54 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001288/0.5199, allocations: 429.1 kB / 1.501 GB, free: 14.12 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002947/0.5229, allocations: 1.206 MB / 1.502 GB, free: 12.91 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.5247, allocations: 0.7311 MB / 1.503 GB, free: 12.18 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002627/0.5273, allocations: 2.059 MB / 1.505 GB, free: 10.11 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009497/0.5283, allocations: 0.6254 MB / 1.506 GB, free: 9.461 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004386/0.5326, allocations: 2.001 MB / 1.508 GB, free: 7.453 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001642/0.5343, allocations: 0.6985 MB / 1.508 GB, free: 6.758 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.5344, allocations: 83.94 kB / 1.508 GB, free: 6.676 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.536, allocations: 0.7287 MB / 1.509 GB, free: 5.945 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004413/0.5364, allocations: 402.8 kB / 1.509 GB, free: 5.551 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0004824/0.5369, allocations: 414.2 kB / 1.51 GB, free: 5.145 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002086/0.539, allocations: 1.483 MB / 1.511 GB, free: 3.656 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.539, allocations: 4 kB / 1.511 GB, free: 3.652 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.393e-06/0.539, allocations: 0 / 1.511 GB, free: 3.652 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.166e-05/0.539, allocations: 4 kB / 1.511 GB, free: 3.648 MB / 1.201 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.001896/0.5409, allocations: 1.19 MB / 1.512 GB, free: 2.426 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.5409, allocations: 8.031 kB / 1.512 GB, free: 2.418 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/0.5422, allocations: 223.1 kB / 1.513 GB, free: 2.199 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.5434, allocations: 0.6116 MB / 1.513 GB, free: 1.559 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.296e-05/0.5435, allocations: 61.98 kB / 1.513 GB, free: 1.5 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.5436, allocations: 79.95 kB / 1.513 GB, free: 1.422 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.5452, allocations: 1.055 MB / 1.514 GB, free: 256 kB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.951e-05/0.5452, allocations: 7.938 kB / 1.514 GB, free: 248 kB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-05/0.5453, allocations: 35.94 kB / 1.514 GB, free: 212 kB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.042e-05/0.5453, allocations: 25.31 kB / 1.514 GB, free: 188 kB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.5464, allocations: 0.6217 MB / 1.515 GB, free: 15.56 MB / 1.217 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.004152/0.5505, allocations: 3.574 MB / 1.519 GB, free: 11.86 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007953/0.5513, allocations: 467.6 kB / 1.519 GB, free: 11.38 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003607/0.5517, allocations: 228.1 kB / 1.519 GB, free: 11.14 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001515/0.5518, allocations: 35.91 kB / 1.519 GB, free: 11.11 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.5519, allocations: 38.56 kB / 1.519 GB, free: 11.06 MB / 1.217 GB Notification: Performance of pre-optimization done (n=43): time 1.974e-06/0.5519, allocations: 0 / 1.519 GB, free: 11.06 MB / 1.217 GB Notification: Performance of matching and sorting (n=45): time 0.002787/0.5547, allocations: 1.539 MB / 1.521 GB, free: 9.488 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/0.5547, allocations: 110.8 kB / 1.521 GB, free: 9.355 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000646/0.5554, allocations: 0.5381 MB / 1.521 GB, free: 8.812 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.875e-05/0.5554, allocations: 37.7 kB / 1.521 GB, free: 8.77 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003306/0.5557, allocations: 432.1 kB / 1.522 GB, free: 8.34 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.5559, allocations: 182.5 kB / 1.522 GB, free: 8.16 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001789/0.5561, allocations: 114.3 kB / 1.522 GB, free: 8.043 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.5563, allocations: 370.8 kB / 1.523 GB, free: 7.672 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003163/0.5566, allocations: 189.2 kB / 1.523 GB, free: 7.488 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006014/0.5572, allocations: 0.5657 MB / 1.523 GB, free: 6.789 MB / 1.217 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.002424/0.5596, allocations: 1.098 MB / 1.524 GB, free: 5.605 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.5596, allocations: 7.938 kB / 1.524 GB, free: 5.598 MB / 1.217 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001061/0.5607, allocations: 0.6568 MB / 1.525 GB, free: 4.934 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.5607, allocations: 11.98 kB / 1.525 GB, free: 4.922 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.5607, allocations: 8.031 kB / 1.525 GB, free: 4.914 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.5607, allocations: 15.94 kB / 1.525 GB, free: 4.898 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005076/0.5612, allocations: 127.8 kB / 1.525 GB, free: 4.773 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.5613, allocations: 8 kB / 1.525 GB, free: 4.766 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005209/0.5618, allocations: 23.98 kB / 1.525 GB, free: 4.742 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.937e-05/0.5618, allocations: 28 kB / 1.525 GB, free: 4.715 MB / 1.217 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.0003662/0.5622, allocations: 275.1 kB / 1.525 GB, free: 4.438 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.5623, allocations: 67.58 kB / 1.526 GB, free: 4.371 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/0.5625, allocations: 86.23 kB / 1.526 GB, free: 4.289 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007974/0.5633, allocations: 0.708 MB / 1.526 GB, free: 3.496 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5633, allocations: 0 / 1.526 GB, free: 3.496 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002795/0.5636, allocations: 107.5 kB / 1.526 GB, free: 3.391 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.229e-05/0.5637, allocations: 8 kB / 1.526 GB, free: 3.383 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004589/0.5641, allocations: 18.48 kB / 1.526 GB, free: 3.367 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.317e-05/0.5642, allocations: 39.83 kB / 1.526 GB, free: 3.328 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001237/0.5654, allocations: 0.7178 MB / 1.527 GB, free: 2.602 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001247/0.5667, allocations: 1.032 MB / 1.528 GB, free: 1.551 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000301/0.567, allocations: 204.5 kB / 1.528 GB, free: 1.352 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004419/0.5674, allocations: 366.8 kB / 1.529 GB, free: 0.9961 MB / 1.217 GB Notification: Performance of Backend: time 5.11e-07/0.5674, allocations: 0 / 1.529 GB, free: 0.9961 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001693/0.5691, allocations: 0.5801 MB / 1.529 GB, free: 428 kB / 1.217 GB Notification: Performance of SimCode: time 0.003266/0.5724, allocations: 2.111 MB / 1.531 GB, free: 14.26 MB / 1.232 GB Notification: Performance of Templates: time 0.02593/0.5983, allocations: 15.37 MB / 1.546 GB, free: 15.19 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.324699078999402]