Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001595/0.001595, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.38/1.38, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.739/2.739, allocations: 461.9 MB / 0.7342 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 64.84 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3272, allocations: 157.4 MB / 1.052 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2046/0.5318, allocations: 188.2 MB / 1.236 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0101/0.542, allocations: 5.765 MB / 1.242 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001463/0.5435, allocations: 39.69 kB / 1.242 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001744/0.5452, allocations: 0.4935 MB / 1.242 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005157/0.5504, allocations: 1.735 MB / 1.244 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003346/0.5538, allocations: 1.074 MB / 1.245 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.7243/1.278, allocations: 4.081 MB / 1.249 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002431/1.281, allocations: 0.9706 MB / 1.25 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003016/1.284, allocations: 0.9027 MB / 1.251 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002877/1.287, allocations: 0.9929 MB / 1.252 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002956/1.287, allocations: 60.44 kB / 1.252 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004097/1.291, allocations: 1.642 MB / 1.253 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009253/1.292, allocations: 0.5054 MB / 1.254 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001676/1.294, allocations: 0.6593 MB / 1.254 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005807/1.299, allocations: 2.348 MB / 1.257 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/1.3, allocations: 2.781 kB / 1.257 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.583e-06/1.3, allocations: 4 kB / 1.257 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.665e-05/1.3, allocations: 0 / 1.257 GB, free: 4.289 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.004081/1.304, allocations: 1.624 MB / 1.258 GB, free: 19.5 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/1.304, allocations: 8.781 kB / 1.258 GB, free: 19.5 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002295/1.306, allocations: 329.2 kB / 1.259 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/1.308, allocations: 0.8647 MB / 1.259 GB, free: 19.11 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.643e-05/1.308, allocations: 75.14 kB / 1.26 GB, free: 19.11 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/1.308, allocations: 102.6 kB / 1.26 GB, free: 19.1 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002137/1.31, allocations: 1.086 MB / 1.261 GB, free: 19.05 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.642e-05/1.31, allocations: 0.5625 kB / 1.261 GB, free: 19.05 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/1.31, allocations: 42.19 kB / 1.261 GB, free: 19.05 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.419e-05/1.31, allocations: 40.3 kB / 1.261 GB, free: 19.04 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002271/1.313, allocations: 0.9879 MB / 1.262 GB, free: 19.04 MB / 1.014 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.009264/1.322, allocations: 4.251 MB / 1.266 GB, free: 17.3 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/1.323, allocations: 0.5999 MB / 1.266 GB, free: 17.27 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006636/1.324, allocations: 345.5 kB / 1.267 GB, free: 17.26 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000248/1.324, allocations: 104.8 kB / 1.267 GB, free: 17.16 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.805e-05/1.324, allocations: 47.08 kB / 1.267 GB, free: 17.12 MB / 1.014 GB Notification: Performance of pre-optimization done (n=53): time 3.336e-06/1.324, allocations: 0 / 1.267 GB, free: 17.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=55): time 0.005959/1.33, allocations: 2.194 MB / 1.269 GB, free: 16.33 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/1.33, allocations: 62.02 kB / 1.269 GB, free: 16.27 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/1.332, allocations: 0.8869 MB / 1.27 GB, free: 16.13 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/1.332, allocations: 39.98 kB / 1.27 GB, free: 16.1 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003888/1.332, allocations: 0.5121 MB / 1.271 GB, free: 15.87 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/1.332, allocations: 196 kB / 1.271 GB, free: 15.74 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/1.333, allocations: 130.6 kB / 1.271 GB, free: 15.72 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001258/1.333, allocations: 332.5 kB / 1.271 GB, free: 15.42 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005149/1.333, allocations: 286.3 kB / 1.271 GB, free: 15.42 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005926/1.334, allocations: 433.9 kB / 1.272 GB, free: 15.28 MB / 1.014 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.004106/1.338, allocations: 1.752 MB / 1.274 GB, free: 15 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/1.338, allocations: 1.344 kB / 1.274 GB, free: 15 MB / 1.014 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001884/1.34, allocations: 0.9248 MB / 1.274 GB, free: 14.88 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/1.34, allocations: 7.328 kB / 1.274 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/1.34, allocations: 7.906 kB / 1.274 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000259/1.34, allocations: 93.66 kB / 1.275 GB, free: 14.85 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007815/1.341, allocations: 170 kB / 1.275 GB, free: 14.85 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003594/1.345, allocations: 4.286 MB / 1.279 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/1.346, allocations: 68.05 kB / 1.279 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-05/1.346, allocations: 26.08 kB / 1.279 GB, free: 11.07 MB / 1.014 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: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00082/1.347, allocations: 353.8 kB / 1.279 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002492/1.347, allocations: 108.6 kB / 1.279 GB, free: 10.9 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001902/1.348, allocations: 112.7 kB / 1.28 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/1.348, allocations: 8.312 kB / 1.28 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/1.348, allocations: 2.25 kB / 1.28 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001146/1.349, allocations: 0.7593 MB / 1.28 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003336/1.352, allocations: 1.983 MB / 1.282 GB, free: 10.17 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/1.352, allocations: 3.5 kB / 1.282 GB, free: 10.17 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006729/1.353, allocations: 146.2 kB / 1.282 GB, free: 10.17 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000104/1.353, allocations: 46.25 kB / 1.282 GB, free: 10.16 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.252e-05/1.353, allocations: 15.42 kB / 1.282 GB, free: 10.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001175/1.354, allocations: 1.488 MB / 1.284 GB, free: 8.902 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/1.354, allocations: 11.61 kB / 1.284 GB, free: 8.898 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001927/1.356, allocations: 1.208 MB / 1.285 GB, free: 8.586 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006091/1.357, allocations: 254.1 kB / 1.285 GB, free: 8.441 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/1.357, allocations: 17.95 kB / 1.285 GB, free: 8.441 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008209/1.358, allocations: 65.36 kB / 1.285 GB, free: 8.43 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/1.358, allocations: 51.14 kB / 1.285 GB, free: 8.422 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.342e-05/1.358, allocations: 31.52 kB / 1.285 GB, free: 8.422 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009483/1.359, allocations: 0.6151 MB / 1.286 GB, free: 8.328 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.353e-06/1.359, allocations: 0 / 1.286 GB, free: 8.328 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001437/1.36, allocations: 313.2 kB / 1.286 GB, free: 8.324 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005267/1.361, allocations: 191.4 kB / 1.287 GB, free: 8.23 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001675/1.363, allocations: 0.997 MB / 1.288 GB, free: 7.887 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.363, allocations: 3.469 kB / 1.288 GB, free: 7.887 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006628/1.363, allocations: 441.5 kB / 1.288 GB, free: 7.777 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003175/1.366, allocations: 0.628 MB / 1.289 GB, free: 7.738 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003921/1.37, allocations: 2.523 MB / 1.291 GB, free: 6.41 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008297/1.371, allocations: 1.174 MB / 1.292 GB, free: 5.691 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001395/1.373, allocations: 255.6 kB / 1.292 GB, free: 5.633 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002546/1.373, allocations: 72 kB / 1.293 GB, free: 5.625 MB / 1.014 GB Notification: Performance of SimCode: time 1.964e-06/1.373, allocations: 0 / 1.293 GB, free: 5.625 MB / 1.014 GB Notification: Performance of Templates: time 0.03845/1.411, allocations: 21.31 MB / 1.313 GB, free: 3.746 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches