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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001414/0.001414, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.428/1.428, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.834/2.834, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 66.98 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3218, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.8096/1.131, allocations: 190.5 MB / 1.254 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01151/1.143, allocations: 5.714 MB / 1.26 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001793/1.145, allocations: 41.38 kB / 1.26 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001623/1.147, allocations: 0.57 MB / 1.26 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005311/1.152, allocations: 1.824 MB / 1.262 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003575/1.155, allocations: 1.174 MB / 1.263 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004914/1.16, allocations: 2.948 MB / 1.266 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002022/1.162, allocations: 1.124 MB / 1.267 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002739/1.165, allocations: 1.046 MB / 1.268 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002188/1.167, allocations: 0.9744 MB / 1.269 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002572/1.168, allocations: 121.7 kB / 1.269 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003793/1.171, allocations: 1.445 MB / 1.271 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007857/1.172, allocations: 0.5739 MB / 1.271 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001076/1.173, allocations: 0.7239 MB / 1.272 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004326/1.178, allocations: 2.309 MB / 1.274 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/1.178, allocations: 0 / 1.274 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.816e-06/1.178, allocations: 0 / 1.274 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.309e-05/1.178, allocations: 1.984 kB / 1.274 GB, free: 5.344 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.003823/1.182, allocations: 1.625 MB / 1.276 GB, free: 20.54 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.182e-05/1.182, allocations: 14.12 kB / 1.276 GB, free: 20.54 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002604/1.184, allocations: 330.7 kB / 1.276 GB, free: 20.47 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002002/1.186, allocations: 0.8681 MB / 1.277 GB, free: 20.14 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/1.186, allocations: 73.81 kB / 1.277 GB, free: 20.13 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/1.187, allocations: 100.8 kB / 1.277 GB, free: 20.13 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002579/1.189, allocations: 1.085 MB / 1.278 GB, free: 20.08 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/1.189, allocations: 0 / 1.278 GB, free: 20.08 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/1.189, allocations: 44.53 kB / 1.278 GB, free: 20.08 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001051/1.189, allocations: 41.5 kB / 1.278 GB, free: 20.08 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002176/1.192, allocations: 0.9925 MB / 1.279 GB, free: 20.07 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.007355/1.199, allocations: 4.266 MB / 1.283 GB, free: 18.34 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009327/1.2, allocations: 0.5934 MB / 1.284 GB, free: 18.32 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005491/1.201, allocations: 349 kB / 1.284 GB, free: 18.3 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002275/1.201, allocations: 105.3 kB / 1.284 GB, free: 18.21 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/1.201, allocations: 44.47 kB / 1.285 GB, free: 18.16 MB / 1.014 GB Notification: Performance of pre-optimization done (n=53): time 2.154e-06/1.201, allocations: 0 / 1.285 GB, free: 18.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=55): time 0.004515/1.205, allocations: 2.206 MB / 1.287 GB, free: 17.37 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/1.205, allocations: 57.34 kB / 1.287 GB, free: 17.31 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/1.207, allocations: 0.8845 MB / 1.288 GB, free: 17.18 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.023e-05/1.207, allocations: 39.62 kB / 1.288 GB, free: 17.14 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003644/1.207, allocations: 0.5153 MB / 1.288 GB, free: 16.91 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/1.207, allocations: 194.4 kB / 1.288 GB, free: 16.79 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002278/1.208, allocations: 133.1 kB / 1.288 GB, free: 16.77 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001326/1.208, allocations: 331.5 kB / 1.289 GB, free: 16.46 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005111/1.208, allocations: 285.7 kB / 1.289 GB, free: 16.46 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006569/1.209, allocations: 435.6 kB / 1.289 GB, free: 16.33 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.003992/1.213, allocations: 1.749 MB / 1.291 GB, free: 16.08 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/1.213, allocations: 1.406 kB / 1.291 GB, free: 16.08 MB / 1.014 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001915/1.215, allocations: 0.9249 MB / 1.292 GB, free: 15.96 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/1.215, allocations: 8.812 kB / 1.292 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/1.215, allocations: 3.25 kB / 1.292 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002406/1.215, allocations: 103.4 kB / 1.292 GB, free: 15.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007301/1.216, allocations: 163.2 kB / 1.292 GB, free: 15.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003724/1.22, allocations: 4.642 MB / 1.297 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/1.221, allocations: 29.92 kB / 1.297 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.611e-05/1.221, allocations: 28.31 kB / 1.297 GB, free: 11.89 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.0007592/1.222, allocations: 347.4 kB / 1.297 GB, free: 11.78 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/1.222, allocations: 102 kB / 1.297 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001916/1.222, allocations: 109.4 kB / 1.297 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/1.222, allocations: 6.656 kB / 1.297 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/1.222, allocations: 5.125 kB / 1.297 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001179/1.223, allocations: 0.7621 MB / 1.298 GB, free: 11.44 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003338/1.227, allocations: 1.988 MB / 1.3 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.832e-06/1.227, allocations: 4.469 kB / 1.3 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006934/1.227, allocations: 145.2 kB / 1.3 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001024/1.227, allocations: 42.62 kB / 1.3 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.118e-05/1.227, allocations: 15.38 kB / 1.3 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/1.229, allocations: 1.612 MB / 1.302 GB, free: 9.645 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/1.229, allocations: 7.094 kB / 1.302 GB, free: 9.645 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001835/1.231, allocations: 1.21 MB / 1.303 GB, free: 9.328 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004747/1.231, allocations: 257.4 kB / 1.303 GB, free: 9.184 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/1.231, allocations: 14.47 kB / 1.303 GB, free: 9.184 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007334/1.232, allocations: 37.48 kB / 1.303 GB, free: 9.18 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/1.232, allocations: 53.19 kB / 1.303 GB, free: 9.172 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.228e-05/1.232, allocations: 31.36 kB / 1.303 GB, free: 9.172 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009465/1.233, allocations: 0.6132 MB / 1.304 GB, free: 9.078 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.233, allocations: 0.9688 kB / 1.304 GB, free: 9.078 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001229/1.234, allocations: 300.8 kB / 1.304 GB, free: 9.078 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.0005282/1.235, allocations: 200.2 kB / 1.305 GB, free: 8.98 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001788/1.237, allocations: 1.101 MB / 1.306 GB, free: 8.645 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.237, allocations: 1.375 kB / 1.306 GB, free: 8.645 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006355/1.237, allocations: 451 kB / 1.306 GB, free: 8.531 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002889/1.24, allocations: 0.6558 MB / 1.307 GB, free: 8.445 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003359/1.244, allocations: 2.12 MB / 1.309 GB, free: 7.547 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007413/1.244, allocations: 1.173 MB / 1.31 GB, free: 6.824 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001017/1.245, allocations: 254.6 kB / 1.31 GB, free: 6.766 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/1.246, allocations: 75.75 kB / 1.31 GB, free: 6.762 MB / 1.014 GB Notification: Performance of SimCode: time 3.41e-07/1.246, allocations: 1.094 kB / 1.31 GB, free: 6.762 MB / 1.014 GB Notification: Performance of Templates: time 0.03999/1.286, allocations: 22.26 MB / 1.332 GB, free: 2.359 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