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.001497/0.001497, allocations: 114.4 kB / 16.42 MB, free: 6.457 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.001663/0.001663, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.211/2.211, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001272, allocations: 63.91 kB / 0.9516 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.694/0.6953, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1888/0.8842, allocations: 187.3 MB / 1.272 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01394/0.8981, allocations: 13.07 MB / 1.284 GB, free: 5.246 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008111/0.899, allocations: 31.81 kB / 1.284 GB, free: 5.215 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.9001, allocations: 441.1 kB / 1.285 GB, free: 4.781 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002464/0.9026, allocations: 1.202 MB / 1.286 GB, free: 3.574 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001476/0.9041, allocations: 0.7053 MB / 1.287 GB, free: 2.871 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001875/0.906, allocations: 2.028 MB / 1.289 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009149/0.9069, allocations: 0.8356 MB / 1.289 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003163/0.9101, allocations: 1.884 MB / 1.291 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.9113, allocations: 0.6622 MB / 1.292 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.9114, allocations: 84 kB / 1.292 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.9128, allocations: 0.8731 MB / 1.293 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000338/0.9132, allocations: 391 kB / 1.293 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004442/0.9136, allocations: 0.4938 MB / 1.294 GB, free: 11.6 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001555/0.9152, allocations: 1.495 MB / 1.295 GB, free: 10.1 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.9152, allocations: 0 / 1.295 GB, free: 10.1 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.482e-06/0.9152, allocations: 0 / 1.295 GB, free: 10.1 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.431e-05/0.9153, allocations: 0 / 1.295 GB, free: 10.1 MB / 1.029 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.00162/0.9169, allocations: 1.235 MB / 1.296 GB, free: 8.809 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.9169, allocations: 15.97 kB / 1.296 GB, free: 8.793 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.9181, allocations: 214.6 kB / 1.297 GB, free: 8.582 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.9191, allocations: 0.6677 MB / 1.297 GB, free: 7.875 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.672e-05/0.9192, allocations: 65.98 kB / 1.297 GB, free: 7.809 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.9193, allocations: 87.84 kB / 1.297 GB, free: 7.723 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.9205, allocations: 0.9326 MB / 1.298 GB, free: 6.707 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.9206, allocations: 11.94 kB / 1.298 GB, free: 6.695 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.715e-05/0.9206, allocations: 35.94 kB / 1.298 GB, free: 6.66 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.635e-05/0.9207, allocations: 29.31 kB / 1.298 GB, free: 6.633 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009161/0.9216, allocations: 0.6138 MB / 1.299 GB, free: 6.02 MB / 1.029 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.003862/0.9255, allocations: 4.582 MB / 1.303 GB, free: 1.145 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007251/0.9262, allocations: 0.5402 MB / 1.304 GB, free: 0.5586 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003215/0.9265, allocations: 244.8 kB / 1.304 GB, free: 320 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001628/0.9267, allocations: 100.9 kB / 1.304 GB, free: 200 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.9267, allocations: 46.55 kB / 1.304 GB, free: 144 kB / 1.029 GB Notification: Performance of pre-optimization done (n=43): time 1.673e-06/0.9267, allocations: 0 / 1.304 GB, free: 144 kB / 1.029 GB Notification: Performance of matching and sorting (n=45): time 0.00246/0.9292, allocations: 1.588 MB / 1.306 GB, free: 14.49 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.9293, allocations: 106.8 kB / 1.306 GB, free: 14.36 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007431/0.93, allocations: 0.7235 MB / 1.307 GB, free: 13.62 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.003e-05/0.9301, allocations: 29.7 kB / 1.307 GB, free: 13.59 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/0.9303, allocations: 415.8 kB / 1.307 GB, free: 13.18 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.9305, allocations: 161.7 kB / 1.307 GB, free: 13.02 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.9306, allocations: 118.2 kB / 1.307 GB, free: 12.9 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.9307, allocations: 330 kB / 1.308 GB, free: 12.57 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/0.931, allocations: 185.2 kB / 1.308 GB, free: 12.39 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004252/0.9315, allocations: 417.5 kB / 1.308 GB, free: 11.89 MB / 1.045 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.002112/0.9336, allocations: 1.182 MB / 1.309 GB, free: 10.6 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.9336, allocations: 4 kB / 1.309 GB, free: 10.6 MB / 1.045 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009417/0.9345, allocations: 0.6677 MB / 1.31 GB, free: 9.922 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.9346, allocations: 14.59 kB / 1.31 GB, free: 9.91 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.9346, allocations: 4 kB / 1.31 GB, free: 9.906 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/0.9346, allocations: 16.72 kB / 1.31 GB, free: 9.891 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004387/0.935, allocations: 131.8 kB / 1.31 GB, free: 9.762 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.9351, allocations: 15.98 kB / 1.31 GB, free: 9.746 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005222/0.9356, allocations: 31.83 kB / 1.31 GB, free: 9.715 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.325e-05/0.9357, allocations: 24 kB / 1.31 GB, free: 9.691 MB / 1.045 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.0003108/0.936, allocations: 277.5 kB / 1.311 GB, free: 9.41 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.9361, allocations: 83 kB / 1.311 GB, free: 9.328 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001715/0.9363, allocations: 91.66 kB / 1.311 GB, free: 9.23 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006579/0.937, allocations: 0.696 MB / 1.311 GB, free: 8.449 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.937, allocations: 7.938 kB / 1.311 GB, free: 8.441 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000274/0.9373, allocations: 196.1 kB / 1.312 GB, free: 8.23 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.742e-05/0.9374, allocations: 12 kB / 1.312 GB, free: 8.219 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004574/0.9378, allocations: 15.98 kB / 1.312 GB, free: 8.203 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/0.9379, allocations: 23.91 kB / 1.312 GB, free: 8.18 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001042/0.9389, allocations: 0.7375 MB / 1.312 GB, free: 7.434 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001048/0.94, allocations: 1.036 MB / 1.313 GB, free: 6.375 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002645/0.9403, allocations: 215.8 kB / 1.314 GB, free: 6.164 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005322/0.9408, allocations: 0.4913 MB / 1.314 GB, free: 5.68 MB / 1.045 GB Notification: Performance of Backend: time 4.21e-07/0.9408, allocations: 0 / 1.314 GB, free: 5.68 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001599/0.9424, allocations: 0.6082 MB / 1.315 GB, free: 5.086 MB / 1.045 GB Notification: Performance of SimCode: time 0.003245/0.9457, allocations: 2.241 MB / 1.317 GB, free: 2.805 MB / 1.045 GB Notification: Performance of Templates: time 0.02487/0.9706, allocations: 16.54 MB / 1.333 GB, free: 2.492 MB / 1.061 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches