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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 118.8 kB / 17.16 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 206.2 kB / 20.13 MB, free: 2.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.424/1.424, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.92/2.92, allocations: 0.5003 GB / 0.8026 GB, free: 6.754 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 71.88 kB / 1.165 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8459/0.8477, allocations: 179 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2295/1.077, allocations: 194.1 MB / 1.53 GB, free: 5.949 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.0101/1.087, allocations: 5.747 MB / 1.535 GB, free: 200 kB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001434/1.089, allocations: 55.56 kB / 1.535 GB, free: 144 kB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001758/1.09, allocations: 0.5981 MB / 1.536 GB, free: 15.54 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004812/1.095, allocations: 1.898 MB / 1.538 GB, free: 13.63 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003227/1.099, allocations: 1.193 MB / 1.539 GB, free: 12.45 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004061/1.103, allocations: 2.957 MB / 1.542 GB, free: 9.488 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001541/1.104, allocations: 0.9408 MB / 1.543 GB, free: 8.527 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002925/1.107, allocations: 1.312 MB / 1.544 GB, free: 7.211 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002468/1.11, allocations: 1.018 MB / 1.545 GB, free: 6.195 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002876/1.11, allocations: 127.9 kB / 1.545 GB, free: 6.07 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003362/1.113, allocations: 1.516 MB / 1.547 GB, free: 4.551 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0007818/1.114, allocations: 0.5805 MB / 1.547 GB, free: 3.969 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001186/1.115, allocations: 0.735 MB / 1.548 GB, free: 3.23 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00437/1.119, allocations: 2.344 MB / 1.55 GB, free: 0.8789 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/1.12, allocations: 0 / 1.55 GB, free: 0.8789 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.224e-06/1.12, allocations: 0 / 1.55 GB, free: 0.8789 MB / 1.217 GB Notification: Performance of Transformations before backend: time 3.666e-05/1.12, allocations: 0 / 1.55 GB, free: 0.8789 MB / 1.217 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.003041/1.123, allocations: 1.653 MB / 1.552 GB, free: 15.17 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/1.123, allocations: 8.031 kB / 1.552 GB, free: 15.16 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.029e-05/1.123, allocations: 26 kB / 1.552 GB, free: 15.14 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002156/1.123, allocations: 164.1 kB / 1.552 GB, free: 14.97 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002081/1.125, allocations: 326.9 kB / 1.552 GB, free: 14.65 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/1.127, allocations: 0.9221 MB / 1.553 GB, free: 13.68 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.279e-05/1.127, allocations: 81.97 kB / 1.553 GB, free: 13.61 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/1.127, allocations: 99.94 kB / 1.553 GB, free: 13.51 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00205/1.129, allocations: 1.077 MB / 1.555 GB, free: 12.43 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/1.129, allocations: 3.953 kB / 1.555 GB, free: 12.42 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/1.129, allocations: 40 kB / 1.555 GB, free: 12.38 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.622e-05/1.129, allocations: 41.98 kB / 1.555 GB, free: 12.34 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/1.131, allocations: 0.9955 MB / 1.556 GB, free: 11.34 MB / 1.232 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.006823/1.138, allocations: 4.381 MB / 1.56 GB, free: 6.629 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009466/1.139, allocations: 0.5647 MB / 1.56 GB, free: 6.059 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005317/1.139, allocations: 326.4 kB / 1.561 GB, free: 5.73 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002229/1.14, allocations: 105.5 kB / 1.561 GB, free: 5.609 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/1.14, allocations: 46.94 kB / 1.561 GB, free: 5.555 MB / 1.232 GB Notification: Performance of pre-optimization done (n=53): time 2.375e-06/1.14, allocations: 0 / 1.561 GB, free: 5.555 MB / 1.232 GB Notification: Performance of matching and sorting (n=55): time 0.004355/1.144, allocations: 2.214 MB / 1.563 GB, free: 3.227 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/1.144, allocations: 55.97 kB / 1.563 GB, free: 3.16 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/1.145, allocations: 0.8844 MB / 1.564 GB, free: 2.27 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 7.046e-05/1.145, allocations: 37.7 kB / 1.564 GB, free: 2.227 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004254/1.146, allocations: 0.5312 MB / 1.564 GB, free: 1.688 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/1.146, allocations: 202.2 kB / 1.565 GB, free: 1.488 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/1.146, allocations: 138.6 kB / 1.565 GB, free: 1.348 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.146, allocations: 333.9 kB / 1.565 GB, free: 1.016 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005078/1.147, allocations: 281.8 kB / 1.565 GB, free: 0.7383 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006234/1.147, allocations: 440.9 kB / 1.566 GB, free: 264 kB / 1.232 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.004094/1.151, allocations: 1.749 MB / 1.568 GB, free: 14.43 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/1.151, allocations: 0 / 1.568 GB, free: 14.43 MB / 1.248 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001611/1.153, allocations: 0.9267 MB / 1.568 GB, free: 13.49 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/1.153, allocations: 15.94 kB / 1.568 GB, free: 13.48 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/1.153, allocations: 0 / 1.568 GB, free: 13.48 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002094/1.153, allocations: 94.52 kB / 1.569 GB, free: 13.38 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007268/1.154, allocations: 163.8 kB / 1.569 GB, free: 13.21 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004285/1.158, allocations: 4.63 MB / 1.573 GB, free: 8.168 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009418/1.159, allocations: 27.98 kB / 1.573 GB, free: 8.141 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.195e-05/1.159, allocations: 27.94 kB / 1.573 GB, free: 8.113 MB / 1.248 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.0005735/1.16, allocations: 349.6 kB / 1.574 GB, free: 7.762 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002366/1.16, allocations: 107.3 kB / 1.574 GB, free: 7.656 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002278/1.16, allocations: 113.2 kB / 1.574 GB, free: 7.543 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/1.16, allocations: 4 kB / 1.574 GB, free: 7.539 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.16, allocations: 0 / 1.574 GB, free: 7.539 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001228/1.162, allocations: 0.7652 MB / 1.575 GB, free: 6.719 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003382/1.165, allocations: 1.984 MB / 1.577 GB, free: 4.637 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/1.165, allocations: 7.938 kB / 1.577 GB, free: 4.629 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007143/1.166, allocations: 152.2 kB / 1.577 GB, free: 4.48 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001225/1.166, allocations: 44.84 kB / 1.577 GB, free: 4.434 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.375e-05/1.166, allocations: 15.98 kB / 1.577 GB, free: 4.418 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001506/1.167, allocations: 1.61 MB / 1.578 GB, free: 2.664 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.167, allocations: 4 kB / 1.578 GB, free: 2.66 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/1.169, allocations: 1.209 MB / 1.579 GB, free: 1.395 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005245/1.17, allocations: 268.3 kB / 1.58 GB, free: 1.113 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/1.17, allocations: 19.98 kB / 1.58 GB, free: 1.094 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007341/1.171, allocations: 28.8 kB / 1.58 GB, free: 1.066 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/1.171, allocations: 51.88 kB / 1.58 GB, free: 1.016 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.832e-05/1.171, allocations: 31.98 kB / 1.58 GB, free: 0.9844 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0009375/1.172, allocations: 0.6083 MB / 1.58 GB, free: 392 kB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/1.172, allocations: 0 / 1.58 GB, free: 392 kB / 1.248 GB Notification: Performance of remove unused functions: time 0.001146/1.173, allocations: 308 kB / 1.581 GB, free: 84 kB / 1.248 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.002682/1.176, allocations: 1.834 MB / 1.583 GB, free: 14.18 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001766/1.178, allocations: 0.9869 MB / 1.583 GB, free: 13.15 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.178, allocations: 0 / 1.583 GB, free: 13.15 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006647/1.178, allocations: 439.5 kB / 1.584 GB, free: 12.71 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00302/1.181, allocations: 0.662 MB / 1.585 GB, free: 12.07 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/1.193, allocations: 7.958 MB / 1.592 GB, free: 3.789 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008549/1.194, allocations: 1.174 MB / 1.593 GB, free: 2.582 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0008724/1.195, allocations: 252.3 kB / 1.594 GB, free: 2.332 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005614/1.195, allocations: 391.3 kB / 1.594 GB, free: 1.949 MB / 1.264 GB Notification: Performance of SimCode: time 7.41e-07/1.195, allocations: 0 / 1.594 GB, free: 1.949 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06895/1.264, allocations: 30.73 MB / 1.624 GB, free: 3.727 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/14.28, allocations: 4.062 kB / 1.624 GB, free: 3.723 MB / 1.295 GB " [Timeout remaining time 286] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.551721147960052]