Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001449/0.001449, 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.00156/0.00156, allocations: 216 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.352/1.352, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.942/2.942, allocations: 0.49 GB / 0.7951 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_12_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.001888/0.001888, allocations: 67.73 kB / 1.154 GB, free: 25.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2942, allocations: 176.1 MB / 1.326 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2036/0.4979, allocations: 191.1 MB / 1.513 GB, free: 2.133 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01621/0.5141, allocations: 13.21 MB / 1.525 GB, free: 4.887 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.5151, allocations: 43.69 kB / 1.525 GB, free: 4.844 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001312/0.5164, allocations: 429.2 kB / 1.526 GB, free: 4.422 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002291/0.5187, allocations: 0.9644 MB / 1.527 GB, free: 3.453 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001798/0.5205, allocations: 0.7302 MB / 1.528 GB, free: 2.727 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002137/0.5226, allocations: 1.533 MB / 1.529 GB, free: 1.195 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008775/0.5235, allocations: 0.4952 MB / 1.53 GB, free: 0.6797 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003885/0.5274, allocations: 1.93 MB / 1.531 GB, free: 14.74 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001431/0.5288, allocations: 0.5324 MB / 1.532 GB, free: 14.21 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.5289, allocations: 56 kB / 1.532 GB, free: 14.16 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.5305, allocations: 0.912 MB / 1.533 GB, free: 13.25 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0003266/0.5309, allocations: 279.1 kB / 1.533 GB, free: 12.97 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0004861/0.5313, allocations: 386.1 kB / 1.533 GB, free: 12.59 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.001735/0.5331, allocations: 1.179 MB / 1.535 GB, free: 11.41 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.5331, allocations: 0 / 1.535 GB, free: 11.41 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5331, allocations: 3.938 kB / 1.535 GB, free: 11.41 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.888e-05/0.5331, allocations: 0 / 1.535 GB, free: 11.41 MB / 1.232 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.001525/0.5346, allocations: 1.002 MB / 1.536 GB, free: 10.37 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.5347, allocations: 12.02 kB / 1.536 GB, free: 10.36 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001102/0.5348, allocations: 98.52 kB / 1.536 GB, free: 10.25 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000901/0.5357, allocations: 199.3 kB / 1.536 GB, free: 10.05 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009239/0.5366, allocations: 0.4919 MB / 1.536 GB, free: 9.543 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.927e-05/0.5366, allocations: 45.31 kB / 1.536 GB, free: 9.496 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.026e-05/0.5367, allocations: 60 kB / 1.537 GB, free: 9.438 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.5379, allocations: 0.7672 MB / 1.537 GB, free: 8.562 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.5379, allocations: 7.938 kB / 1.537 GB, free: 8.555 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.327e-05/0.5379, allocations: 31.92 kB / 1.537 GB, free: 8.523 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.378e-05/0.538, allocations: 24.98 kB / 1.537 GB, free: 8.5 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008859/0.5389, allocations: 459.3 kB / 1.538 GB, free: 8.051 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.003972/0.5428, allocations: 4.395 MB / 1.542 GB, free: 3.414 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.543, allocations: 110.3 kB / 1.542 GB, free: 3.27 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.5431, allocations: 67.58 kB / 1.542 GB, free: 3.191 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001352/0.5432, allocations: 28 kB / 1.542 GB, free: 3.164 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.5432, allocations: 38.48 kB / 1.542 GB, free: 3.117 MB / 1.232 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.5432, allocations: 0 / 1.542 GB, free: 3.117 MB / 1.232 GB Notification: Performance of matching and sorting (n=10): time 0.0006552/0.5439, allocations: 252.9 kB / 1.543 GB, free: 2.863 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.421e-05/0.544, allocations: 132.8 kB / 1.543 GB, free: 2.703 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.5451, allocations: 0.837 MB / 1.543 GB, free: 1.855 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.5451, allocations: 25.7 kB / 1.543 GB, free: 1.824 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003286/0.5455, allocations: 415.6 kB / 1.544 GB, free: 1.414 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.5455, allocations: 47.67 kB / 1.544 GB, free: 1.367 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.5456, allocations: 89.98 kB / 1.544 GB, free: 1.273 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.5458, allocations: 329.9 kB / 1.544 GB, free: 0.9453 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.546, allocations: 104.7 kB / 1.544 GB, free: 0.8438 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004583/0.5465, allocations: 365.7 kB / 1.545 GB, free: 380 kB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005944/0.5471, allocations: 437.5 kB / 1.545 GB, free: 15.84 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.5471, allocations: 4 kB / 1.545 GB, free: 15.83 MB / 1.248 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009585/0.548, allocations: 0.4939 MB / 1.546 GB, free: 15.33 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.5481, allocations: 8 kB / 1.546 GB, free: 15.32 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.5481, allocations: 8 kB / 1.546 GB, free: 15.32 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.5481, allocations: 12 kB / 1.546 GB, free: 15.3 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003104/0.5484, allocations: 95.88 kB / 1.546 GB, free: 15.21 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.137e-05/0.5484, allocations: 23.86 kB / 1.546 GB, free: 15.19 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000611/0.549, allocations: 119.2 kB / 1.546 GB, free: 15.07 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.223e-05/0.5491, allocations: 24 kB / 1.546 GB, free: 15.05 MB / 1.248 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.0002637/0.5493, allocations: 229.6 kB / 1.546 GB, free: 14.81 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.5495, allocations: 79.48 kB / 1.546 GB, free: 14.73 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.5496, allocations: 74.27 kB / 1.546 GB, free: 14.66 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.5496, allocations: 0 / 1.546 GB, free: 14.66 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.5496, allocations: 4.125 kB / 1.546 GB, free: 14.65 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.5496, allocations: 11.94 kB / 1.546 GB, free: 14.64 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.5509, allocations: 1.092 MB / 1.547 GB, free: 13.46 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5509, allocations: 0 / 1.547 GB, free: 13.46 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.208e-05/0.551, allocations: 20 kB / 1.547 GB, free: 13.45 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.551, allocations: 4 kB / 1.547 GB, free: 13.44 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.551, allocations: 4 kB / 1.547 GB, free: 13.44 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.103e-06/0.5511, allocations: 7.922 kB / 1.547 GB, free: 13.43 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.5511, allocations: 4 kB / 1.547 GB, free: 13.43 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.5514, allocations: 272.5 kB / 1.548 GB, free: 13.11 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002187/0.5516, allocations: 99.38 kB / 1.548 GB, free: 13.02 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.945e-05/0.5517, allocations: 4 kB / 1.548 GB, free: 13.01 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003114/0.552, allocations: 15.98 kB / 1.548 GB, free: 13 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.552, allocations: 19.86 kB / 1.548 GB, free: 12.98 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.552, allocations: 8 kB / 1.548 GB, free: 12.97 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0008211/0.5528, allocations: 0.5888 MB / 1.548 GB, free: 12.38 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.5528, allocations: 0 / 1.548 GB, free: 12.38 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0005528/0.5534, allocations: 155.8 kB / 1.549 GB, free: 12.23 MB / 1.248 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.0008972/0.5543, allocations: 0.8641 MB / 1.549 GB, free: 11.32 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0005124/0.5548, allocations: 237.2 kB / 1.55 GB, free: 11.09 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.5548, allocations: 0 / 1.55 GB, free: 11.09 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 7.076e-05/0.5549, allocations: 47.86 kB / 1.55 GB, free: 11.04 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/0.5564, allocations: 393.8 kB / 1.55 GB, free: 10.67 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007306/0.5637, allocations: 5.474 MB / 1.555 GB, free: 4.84 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005508/0.5643, allocations: 0.9409 MB / 1.556 GB, free: 3.871 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0004359/0.5647, allocations: 150.1 kB / 1.556 GB, free: 3.723 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002857/0.565, allocations: 231.4 kB / 1.557 GB, free: 3.496 MB / 1.248 GB Notification: Performance of SimCode: time 5.21e-07/0.565, allocations: 0 / 1.557 GB, free: 3.496 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05232/0.6173, allocations: 18.4 MB / 1.575 GB, free: 1.457 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.7, allocations: 0 / 1.575 GB, free: 1.457 MB / 1.264 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 17.770981901092455]