Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.001271/0.001271, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001728/0.001728, allocations: 219.7 kB / 22.26 MB, free: 5.125 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.343/1.343, allocations: 230.6 MB / 256 MB, free: 7.984 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.927/2.927, allocations: 0.505 GB / 0.8101 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 177] 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.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",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.001896/0.001896, allocations: 64.06 kB / 1.177 GB, free: 16.95 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3023, allocations: 180.2 MB / 1.353 GB, free: 8.398 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2112/0.5135, allocations: 191.1 MB / 1.539 GB, free: 8.605 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01662/0.5301, allocations: 13.21 MB / 1.552 GB, free: 11.36 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009403/0.5311, allocations: 39.69 kB / 1.552 GB, free: 11.32 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.5324, allocations: 421.2 kB / 1.553 GB, free: 10.91 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.002461/0.5349, allocations: 0.9644 MB / 1.554 GB, free: 9.938 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.001986/0.5369, allocations: 0.7572 MB / 1.554 GB, free: 9.188 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.002228/0.5391, allocations: 1.512 MB / 1.556 GB, free: 7.668 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009488/0.5401, allocations: 0.5029 MB / 1.556 GB, free: 7.152 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003998/0.5441, allocations: 1.927 MB / 1.558 GB, free: 5.219 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001429/0.5455, allocations: 0.5195 MB / 1.559 GB, free: 4.703 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.5456, allocations: 56 kB / 1.559 GB, free: 4.648 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.5472, allocations: 0.9043 MB / 1.56 GB, free: 3.742 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0003739/0.5476, allocations: 291 kB / 1.56 GB, free: 3.457 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0006185/0.5482, allocations: 390 kB / 1.56 GB, free: 3.074 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.001901/0.5501, allocations: 1.171 MB / 1.562 GB, free: 1.898 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5501, allocations: 0 / 1.562 GB, free: 1.898 MB / 1.248 GB Notification: Performance of FrontEnd: time 3.327e-06/0.5501, allocations: 4 kB / 1.562 GB, free: 1.895 MB / 1.248 GB Notification: Performance of Transformations before backend: time 3.926e-05/0.5502, allocations: 0 / 1.562 GB, free: 1.895 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001933/0.5521, allocations: 1.006 MB / 1.563 GB, free: 0.8516 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.5522, allocations: 8.031 kB / 1.563 GB, free: 0.8438 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001431/0.5523, allocations: 102.5 kB / 1.563 GB, free: 0.7344 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009709/0.5533, allocations: 195.2 kB / 1.563 GB, free: 0.543 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009958/0.5543, allocations: 491.8 kB / 1.563 GB, free: 40 kB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.651e-05/0.5543, allocations: 49.39 kB / 1.563 GB, free: 15.98 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.853e-05/0.5544, allocations: 59.84 kB / 1.563 GB, free: 15.93 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.5556, allocations: 0.775 MB / 1.564 GB, free: 15.04 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.5556, allocations: 4 kB / 1.564 GB, free: 15.04 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.972e-05/0.5557, allocations: 31.94 kB / 1.564 GB, free: 15.01 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.792e-05/0.5557, allocations: 21 kB / 1.564 GB, free: 14.99 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008469/0.5565, allocations: 463.2 kB / 1.565 GB, free: 14.54 MB / 1.264 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.004082/0.5606, allocations: 4.407 MB / 1.569 GB, free: 9.891 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.5608, allocations: 102.4 kB / 1.569 GB, free: 9.754 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.5609, allocations: 75.5 kB / 1.569 GB, free: 9.668 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001255/0.561, allocations: 15.98 kB / 1.569 GB, free: 9.652 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.561, allocations: 42.56 kB / 1.569 GB, free: 9.602 MB / 1.264 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.561, allocations: 4 kB / 1.569 GB, free: 9.598 MB / 1.264 GB Notification: Performance of matching and sorting (n=10): time 0.0006184/0.5616, allocations: 249.2 kB / 1.569 GB, free: 9.348 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.56e-05/0.5617, allocations: 136.5 kB / 1.57 GB, free: 9.184 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.5628, allocations: 0.8411 MB / 1.57 GB, free: 8.332 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.5628, allocations: 33.7 kB / 1.57 GB, free: 8.293 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003631/0.5632, allocations: 407.7 kB / 1.571 GB, free: 7.891 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.5632, allocations: 39.69 kB / 1.571 GB, free: 7.852 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.5634, allocations: 89.97 kB / 1.571 GB, free: 7.758 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.5635, allocations: 329.8 kB / 1.571 GB, free: 7.43 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/0.5638, allocations: 116.7 kB / 1.571 GB, free: 7.316 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004811/0.5643, allocations: 357.7 kB / 1.572 GB, free: 6.852 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005974/0.5649, allocations: 441.6 kB / 1.572 GB, free: 6.312 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.5649, allocations: 0 / 1.572 GB, free: 6.312 MB / 1.264 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008783/0.5658, allocations: 0.5046 MB / 1.573 GB, free: 5.801 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.5658, allocations: 8 kB / 1.573 GB, free: 5.793 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.5658, allocations: 8 kB / 1.573 GB, free: 5.785 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.5658, allocations: 12 kB / 1.573 GB, free: 5.773 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003033/0.5661, allocations: 88.33 kB / 1.573 GB, free: 5.688 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.637e-05/0.5661, allocations: 19.94 kB / 1.573 GB, free: 5.668 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005728/0.5667, allocations: 119.2 kB / 1.573 GB, free: 5.551 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.6e-05/0.5667, allocations: 24 kB / 1.573 GB, free: 5.527 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0002431/0.567, allocations: 238.1 kB / 1.573 GB, free: 5.285 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.5671, allocations: 83.47 kB / 1.573 GB, free: 5.203 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.5672, allocations: 70.28 kB / 1.573 GB, free: 5.133 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.5672, allocations: 4 kB / 1.573 GB, free: 5.129 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.5672, allocations: 3.984 kB / 1.573 GB, free: 5.125 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.5672, allocations: 3.938 kB / 1.573 GB, free: 5.121 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.5685, allocations: 1.084 MB / 1.574 GB, free: 3.953 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.5685, allocations: 4 kB / 1.574 GB, free: 3.949 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.66e-05/0.5686, allocations: 24.23 kB / 1.574 GB, free: 3.926 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.5686, allocations: 4 kB / 1.574 GB, free: 3.922 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.5686, allocations: 4 kB / 1.574 GB, free: 3.918 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.5686, allocations: 4.125 kB / 1.574 GB, free: 3.914 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.748e-06/0.5686, allocations: 4 kB / 1.574 GB, free: 3.91 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.5689, allocations: 276.1 kB / 1.575 GB, free: 3.594 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001978/0.5691, allocations: 103.4 kB / 1.575 GB, free: 3.492 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.505e-05/0.5692, allocations: 4 kB / 1.575 GB, free: 3.488 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002933/0.5695, allocations: 19.98 kB / 1.575 GB, free: 3.469 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-05/0.5695, allocations: 11.92 kB / 1.575 GB, free: 3.457 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.5695, allocations: 8 kB / 1.575 GB, free: 3.449 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.000758/0.5703, allocations: 0.5849 MB / 1.575 GB, free: 2.867 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.5703, allocations: 0 / 1.575 GB, free: 2.867 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0005098/0.5708, allocations: 163.8 kB / 1.576 GB, free: 2.707 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (10): * Single equations (assignments): 10 * 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.0008202/0.5716, allocations: 0.8729 MB / 1.576 GB, free: 1.789 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0004725/0.5721, allocations: 237.4 kB / 1.577 GB, free: 1.559 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5721, allocations: 0 / 1.577 GB, free: 1.559 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 7.001e-05/0.5722, allocations: 51.84 kB / 1.577 GB, free: 1.508 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.5736, allocations: 380.7 kB / 1.577 GB, free: 1.145 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00665/0.5802, allocations: 5.463 MB / 1.582 GB, free: 11.32 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005273/0.5808, allocations: 0.9409 MB / 1.583 GB, free: 10.36 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0003911/0.5812, allocations: 146.1 kB / 1.583 GB, free: 10.21 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/0.5814, allocations: 235.3 kB / 1.584 GB, free: 9.98 MB / 1.279 GB Notification: Performance of SimCode: time 4.01e-07/0.5814, allocations: 0 / 1.584 GB, free: 9.98 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04993/0.6314, allocations: 18.4 MB / 1.602 GB, free: 7.887 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.69, allocations: 15.11 kB / 1.602 GB, free: 7.875 MB / 1.295 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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: 18.22357914992608]