Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 115.9 kB / 16.42 MB, free: 6.473 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.001363/0.001363, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.333/1.333, 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.188/2.188, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 59.91 kB / 0.9515 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6776/0.6789, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1957/0.8747, allocations: 190.3 MB / 1.275 GB, free: 15.29 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008015/0.8827, allocations: 5.688 MB / 1.28 GB, free: 9.59 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.8837, allocations: 43.75 kB / 1.28 GB, free: 9.547 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.8851, allocations: 0.5826 MB / 1.281 GB, free: 8.961 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00342/0.8886, allocations: 1.668 MB / 1.282 GB, free: 7.285 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00267/0.8913, allocations: 1.217 MB / 1.283 GB, free: 6.074 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002639/0.8939, allocations: 2.515 MB / 1.286 GB, free: 3.555 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.8951, allocations: 1.002 MB / 1.287 GB, free: 2.535 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001612/0.8967, allocations: 1.062 MB / 1.288 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001519/0.8983, allocations: 0.8143 MB / 1.289 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001952/0.8985, allocations: 100 kB / 1.289 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002346/0.9008, allocations: 1.532 MB / 1.29 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004697/0.9013, allocations: 498.8 kB / 1.291 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006786/0.902, allocations: 0.6183 MB / 1.291 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00262/0.9046, allocations: 2.111 MB / 1.293 GB, free: 11.8 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.9046, allocations: 4 kB / 1.293 GB, free: 11.79 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.252e-06/0.9047, allocations: 0 / 1.293 GB, free: 11.79 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.715e-05/0.9047, allocations: 0 / 1.293 GB, free: 11.79 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002731/0.9074, allocations: 1.472 MB / 1.295 GB, free: 10.27 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.9075, allocations: 12.03 kB / 1.295 GB, free: 10.26 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00203/0.9095, allocations: 330.3 kB / 1.295 GB, free: 9.934 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/0.9109, allocations: 0.8077 MB / 1.296 GB, free: 9.082 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.276e-05/0.9109, allocations: 69.98 kB / 1.296 GB, free: 9.016 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.9111, allocations: 87.98 kB / 1.296 GB, free: 8.93 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.9127, allocations: 1.067 MB / 1.297 GB, free: 7.82 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.9128, allocations: 3.938 kB / 1.297 GB, free: 7.816 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.912e-05/0.9129, allocations: 44 kB / 1.297 GB, free: 7.773 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.16e-05/0.9129, allocations: 37.98 kB / 1.297 GB, free: 7.738 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/0.9144, allocations: 0.8236 MB / 1.298 GB, free: 6.91 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.006169/0.9206, allocations: 4.262 MB / 1.302 GB, free: 2.375 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005786/0.9211, allocations: 367.8 kB / 1.303 GB, free: 2.008 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002865/0.9214, allocations: 213.3 kB / 1.303 GB, free: 1.797 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/0.9216, allocations: 105 kB / 1.303 GB, free: 1.676 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.9217, allocations: 38.56 kB / 1.303 GB, free: 1.629 MB / 1.029 GB Notification: Performance of pre-optimization done (n=36): time 2.074e-06/0.9217, allocations: 0 / 1.303 GB, free: 1.629 MB / 1.029 GB Notification: Performance of matching and sorting (n=38): time 0.002396/0.9241, allocations: 1.332 MB / 1.304 GB, free: 248 kB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.9241, allocations: 59.41 kB / 1.304 GB, free: 176 kB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.9254, allocations: 0.9966 MB / 1.305 GB, free: 15.15 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.136e-05/0.9255, allocations: 37.7 kB / 1.305 GB, free: 15.11 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003437/0.9258, allocations: 499.2 kB / 1.306 GB, free: 14.62 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.926, allocations: 138 kB / 1.306 GB, free: 14.48 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.9262, allocations: 130.1 kB / 1.306 GB, free: 14.35 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.9263, allocations: 330 kB / 1.306 GB, free: 14.02 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004618/0.9267, allocations: 233.2 kB / 1.307 GB, free: 13.79 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005732/0.9273, allocations: 428.6 kB / 1.307 GB, free: 13.3 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002417/0.9297, allocations: 1.218 MB / 1.308 GB, free: 11.98 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.9298, allocations: 4 kB / 1.308 GB, free: 11.98 MB / 1.045 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001333/0.9311, allocations: 0.7649 MB / 1.309 GB, free: 11.21 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.9311, allocations: 8.562 kB / 1.309 GB, free: 11.2 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.9311, allocations: 4 kB / 1.309 GB, free: 11.2 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.9312, allocations: 15.94 kB / 1.309 GB, free: 11.18 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005722/0.9318, allocations: 147.7 kB / 1.309 GB, free: 11.04 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.9318, allocations: 8 kB / 1.309 GB, free: 11.03 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008467/0.9326, allocations: 55.89 kB / 1.309 GB, free: 10.97 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.413e-05/0.9327, allocations: 39.92 kB / 1.309 GB, free: 10.93 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. 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 (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.0003612/0.9331, allocations: 309.5 kB / 1.31 GB, free: 10.62 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.9332, allocations: 98.88 kB / 1.31 GB, free: 10.52 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000185/0.9334, allocations: 97.03 kB / 1.31 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008657/0.9343, allocations: 0.6827 MB / 1.31 GB, free: 9.656 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.9343, allocations: 0 / 1.31 GB, free: 9.656 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003684/0.9347, allocations: 243.8 kB / 1.311 GB, free: 9.398 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.9348, allocations: 8 kB / 1.311 GB, free: 9.391 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006449/0.9355, allocations: 39.91 kB / 1.311 GB, free: 9.352 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.9355, allocations: 19.97 kB / 1.311 GB, free: 9.332 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009239/0.9364, allocations: 0.5164 MB / 1.311 GB, free: 8.809 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009661/0.9374, allocations: 0.853 MB / 1.312 GB, free: 7.938 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002455/0.9377, allocations: 200 kB / 1.312 GB, free: 7.742 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009433/0.9386, allocations: 0.6958 MB / 1.313 GB, free: 7.035 MB / 1.045 GB Notification: Performance of Backend: time 5.81e-07/0.9386, allocations: 4 kB / 1.313 GB, free: 7.031 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001881/0.9405, allocations: 0.7358 MB / 1.314 GB, free: 6.301 MB / 1.045 GB Notification: Performance of SimCode: time 0.004118/0.9447, allocations: 2.585 MB / 1.316 GB, free: 3.676 MB / 1.045 GB Notification: Performance of Templates: time 0.03387/0.9785, allocations: 22.97 MB / 1.339 GB, free: 12.98 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches