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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.009496/0.009496, allocations: 108.5 kB / 15.71 MB, free: 5.977 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.00212/0.00212, allocations: 187.6 kB / 16.64 MB, free: 5.914 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.343/1.343, allocations: 222.9 MB / 240.3 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.249/2.249, allocations: 390.3 MB / 0.6648 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.91 kB / 0.9509 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8815/0.8828, allocations: 140.4 MB / 1.088 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2478/1.131, allocations: 190.3 MB / 1.274 GB, free: 15.23 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009828/1.141, allocations: 5.687 MB / 1.279 GB, free: 9.531 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/1.142, allocations: 39.81 kB / 1.279 GB, free: 9.492 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001517/1.143, allocations: 0.563 MB / 1.28 GB, free: 8.926 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003988/1.147, allocations: 1.606 MB / 1.282 GB, free: 7.312 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003161/1.151, allocations: 1.217 MB / 1.283 GB, free: 6.105 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003183/1.154, allocations: 2.506 MB / 1.285 GB, free: 3.59 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001689/1.155, allocations: 0.9944 MB / 1.286 GB, free: 2.578 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001992/1.157, allocations: 1.016 MB / 1.287 GB, free: 1.559 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001654/1.159, allocations: 0.818 MB / 1.288 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001531/1.159, allocations: 104 kB / 1.288 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002754/1.162, allocations: 1.532 MB / 1.29 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004978/1.163, allocations: 498.7 kB / 1.29 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0007011/1.163, allocations: 0.6183 MB / 1.291 GB, free: 14 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002959/1.166, allocations: 2.1 MB / 1.293 GB, free: 11.89 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/1.166, allocations: 0 / 1.293 GB, free: 11.89 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.526e-06/1.166, allocations: 0 / 1.293 GB, free: 11.89 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.757e-05/1.166, allocations: 3.938 kB / 1.293 GB, free: 11.89 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.002334/1.169, allocations: 1.472 MB / 1.294 GB, free: 10.36 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/1.169, allocations: 8.031 kB / 1.294 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002023/1.171, allocations: 334.3 kB / 1.294 GB, free: 10.03 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/1.172, allocations: 0.8078 MB / 1.295 GB, free: 9.176 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.138e-05/1.172, allocations: 58 kB / 1.295 GB, free: 9.121 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/1.172, allocations: 87.94 kB / 1.295 GB, free: 9.035 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/1.174, allocations: 1.074 MB / 1.296 GB, free: 7.918 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/1.174, allocations: 4 kB / 1.296 GB, free: 7.914 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.66e-05/1.174, allocations: 47.92 kB / 1.296 GB, free: 7.867 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.187e-05/1.174, allocations: 37.97 kB / 1.297 GB, free: 7.832 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/1.176, allocations: 0.8314 MB / 1.297 GB, free: 6.996 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.005582/1.181, allocations: 4.262 MB / 1.302 GB, free: 2.465 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006175/1.182, allocations: 365.2 kB / 1.302 GB, free: 2.102 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003439/1.182, allocations: 221.3 kB / 1.302 GB, free: 1.883 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002219/1.183, allocations: 105 kB / 1.302 GB, free: 1.762 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/1.183, allocations: 38.56 kB / 1.302 GB, free: 1.715 MB / 1.029 GB Notification: Performance of pre-optimization done (n=36): time 2.044e-06/1.183, allocations: 0 / 1.302 GB, free: 1.715 MB / 1.029 GB Notification: Performance of matching and sorting (n=38): time 0.002602/1.185, allocations: 1.329 MB / 1.303 GB, free: 340 kB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/1.185, allocations: 55.41 kB / 1.304 GB, free: 272 kB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/1.187, allocations: 1 MB / 1.305 GB, free: 15.24 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.713e-05/1.187, allocations: 33.7 kB / 1.305 GB, free: 15.2 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003446/1.187, allocations: 0.4914 MB / 1.305 GB, free: 14.71 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/1.187, allocations: 150 kB / 1.305 GB, free: 14.56 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/1.187, allocations: 126.1 kB / 1.305 GB, free: 14.43 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001124/1.187, allocations: 326 kB / 1.306 GB, free: 14.11 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004617/1.188, allocations: 237.2 kB / 1.306 GB, free: 13.88 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005849/1.189, allocations: 427.7 kB / 1.306 GB, free: 13.38 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.002445/1.191, allocations: 1.214 MB / 1.307 GB, free: 12.07 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.191, allocations: 3.938 kB / 1.307 GB, free: 12.07 MB / 1.045 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001332/1.192, allocations: 0.7692 MB / 1.308 GB, free: 11.29 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/1.192, allocations: 8 kB / 1.308 GB, free: 11.28 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/1.192, allocations: 12.06 kB / 1.308 GB, free: 11.27 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/1.192, allocations: 11.94 kB / 1.308 GB, free: 11.26 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005717/1.193, allocations: 139.8 kB / 1.308 GB, free: 11.12 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/1.193, allocations: 15.94 kB / 1.308 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008327/1.194, allocations: 51.95 kB / 1.308 GB, free: 11.05 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.124e-05/1.194, allocations: 27.98 kB / 1.308 GB, free: 11.03 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.000422/1.194, allocations: 313.5 kB / 1.309 GB, free: 10.71 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/1.194, allocations: 94.88 kB / 1.309 GB, free: 10.62 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/1.195, allocations: 109 kB / 1.309 GB, free: 10.51 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/1.195, allocations: 7.984 kB / 1.309 GB, free: 10.5 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/1.195, allocations: 4 kB / 1.309 GB, free: 10.5 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006553/1.195, allocations: 0.6788 MB / 1.31 GB, free: 9.73 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002224/1.198, allocations: 1.575 MB / 1.311 GB, free: 8.051 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/1.198, allocations: 8.094 kB / 1.311 GB, free: 8.043 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004003/1.198, allocations: 91.83 kB / 1.311 GB, free: 7.953 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/1.198, allocations: 4 kB / 1.311 GB, free: 7.949 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/1.198, allocations: 12 kB / 1.311 GB, free: 7.938 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.081e-05/1.198, allocations: 15.92 kB / 1.311 GB, free: 7.922 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.198, allocations: 7.938 kB / 1.311 GB, free: 7.914 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/1.199, allocations: 0.8294 MB / 1.312 GB, free: 7.02 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003213/1.199, allocations: 239.8 kB / 1.312 GB, free: 6.766 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/1.2, allocations: 23.92 kB / 1.312 GB, free: 6.742 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006775/1.2, allocations: 35.97 kB / 1.312 GB, free: 6.707 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.82e-05/1.2, allocations: 35.84 kB / 1.312 GB, free: 6.672 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.316e-05/1.2, allocations: 27.98 kB / 1.312 GB, free: 6.645 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009845/1.201, allocations: 0.7077 MB / 1.313 GB, free: 5.926 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.6e-07/1.201, allocations: 0 / 1.313 GB, free: 5.926 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0008499/1.202, allocations: 256 kB / 1.313 GB, free: 5.676 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.0004477/1.203, allocations: 210.1 kB / 1.314 GB, free: 5.469 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009106/1.204, allocations: 0.496 MB / 1.314 GB, free: 4.973 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.204, allocations: 0 / 1.314 GB, free: 4.973 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002547/1.204, allocations: 189.4 kB / 1.314 GB, free: 4.789 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00268/1.207, allocations: 0.6303 MB / 1.315 GB, free: 4.172 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/1.209, allocations: 1.826 MB / 1.317 GB, free: 2.266 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006758/1.21, allocations: 1.099 MB / 1.318 GB, free: 1.137 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0007522/1.211, allocations: 248.3 kB / 1.318 GB, free: 0.8906 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/1.211, allocations: 71.44 kB / 1.318 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of SimCode: time 4.31e-07/1.211, allocations: 0 / 1.318 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of Templates: time 0.03334/1.244, allocations: 19.74 MB / 1.337 GB, free: 13.39 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches