Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008634/0.0008634, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.00161/0.00161, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.8971/0.8971, allocations: 177.2 MB / 202.8 MB, free: 5.539 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.678/1.678, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.169e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.5654/0.5654, allocations: 165.3 MB / 1.112 GB, free: 35.06 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.00861/0.574, allocations: 11.93 MB / 1.124 GB, free: 27.05 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004904/0.5745, allocations: 39.81 kB / 1.124 GB, free: 27.03 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009457/0.5754, allocations: 416.9 kB / 1.124 GB, free: 26.78 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001571/0.577, allocations: 0.998 MB / 1.125 GB, free: 26.21 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.5782, allocations: 0.7732 MB / 1.126 GB, free: 25.83 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001251/0.5795, allocations: 1.52 MB / 1.127 GB, free: 25.13 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00063/0.5801, allocations: 499.4 kB / 1.128 GB, free: 24.89 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002713/0.5828, allocations: 1.94 MB / 1.13 GB, free: 24.02 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008799/0.5837, allocations: 474.2 kB / 1.13 GB, free: 23.88 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 7.118e-05/0.5838, allocations: 53.66 kB / 1.13 GB, free: 23.88 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.5848, allocations: 0.7348 MB / 1.131 GB, free: 23.64 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000277/0.5851, allocations: 303.4 kB / 1.131 GB, free: 23.51 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002366/0.5853, allocations: 264.8 kB / 1.131 GB, free: 23.41 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.5867, allocations: 1.172 MB / 1.133 GB, free: 23 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.5867, allocations: 0 / 1.133 GB, free: 23 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5867, allocations: 0 / 1.133 GB, free: 23 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.5867, allocations: 5.219 kB / 1.133 GB, free: 23 MB / 0.9948 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.0009961/0.5877, allocations: 0.9938 MB / 1.133 GB, free: 22.29 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.5877, allocations: 9.5 kB / 1.134 GB, free: 22.29 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.569e-05/0.5878, allocations: 100.7 kB / 1.134 GB, free: 22.21 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000588/0.5884, allocations: 201.7 kB / 1.134 GB, free: 22.15 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005986/0.589, allocations: 0.4893 MB / 1.134 GB, free: 21.82 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/0.589, allocations: 42.03 kB / 1.134 GB, free: 21.8 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.347e-05/0.5891, allocations: 58.09 kB / 1.134 GB, free: 21.79 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000777/0.5899, allocations: 0.7942 MB / 1.135 GB, free: 21.26 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.5899, allocations: 6.344 kB / 1.135 GB, free: 21.25 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.5899, allocations: 28.22 kB / 1.135 GB, free: 21.23 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-05/0.5899, allocations: 26.03 kB / 1.135 GB, free: 21.23 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006169/0.5906, allocations: 466.2 kB / 1.136 GB, free: 21.07 MB / 0.9948 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.002093/0.5927, allocations: 4.004 MB / 1.14 GB, free: 17.63 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.694e-05/0.5927, allocations: 97.23 kB / 1.14 GB, free: 17.53 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.934e-05/0.5928, allocations: 72.53 kB / 1.14 GB, free: 17.48 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.5929, allocations: 19.94 kB / 1.14 GB, free: 17.48 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.5929, allocations: 42.61 kB / 1.14 GB, free: 17.43 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.5929, allocations: 0 / 1.14 GB, free: 17.43 MB / 0.9948 GB Notification: Performance of matching and sorting (n=10): time 0.000457/0.5934, allocations: 246.7 kB / 1.14 GB, free: 17.32 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.5934, allocations: 130.7 kB / 1.14 GB, free: 17.16 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008899/0.5943, allocations: 0.8556 MB / 1.141 GB, free: 16.81 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.5943, allocations: 31.2 kB / 1.141 GB, free: 16.78 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/0.5945, allocations: 400.7 kB / 1.141 GB, free: 16.46 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.5946, allocations: 46.05 kB / 1.141 GB, free: 16.42 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.928e-05/0.5946, allocations: 88.83 kB / 1.142 GB, free: 16.37 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.957e-05/0.5947, allocations: 331.4 kB / 1.142 GB, free: 16.05 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.5948, allocations: 110.6 kB / 1.142 GB, free: 16.02 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/0.5951, allocations: 0.5095 MB / 1.142 GB, free: 15.49 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003259/0.5954, allocations: 443.5 kB / 1.143 GB, free: 15.1 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.5954, allocations: 3.75 kB / 1.143 GB, free: 15.1 MB / 0.9948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005617/0.596, allocations: 0.4933 MB / 1.143 GB, free: 14.9 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.596, allocations: 12.22 kB / 1.143 GB, free: 14.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.596, allocations: 8.594 kB / 1.143 GB, free: 14.89 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.5961, allocations: 10.47 kB / 1.143 GB, free: 14.89 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.5962, allocations: 96.12 kB / 1.143 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.5962, allocations: 19.27 kB / 1.143 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003244/0.5966, allocations: 125.4 kB / 1.144 GB, free: 14.82 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/0.5966, allocations: 25.78 kB / 1.144 GB, free: 14.81 MB / 0.9948 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.0001557/0.5968, allocations: 230.5 kB / 1.144 GB, free: 14.64 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.667e-05/0.5968, allocations: 75.69 kB / 1.144 GB, free: 14.6 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.202e-05/0.5969, allocations: 70.56 kB / 1.144 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.5969, allocations: 5.5 kB / 1.144 GB, free: 14.56 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.5969, allocations: 1.312 kB / 1.144 GB, free: 14.56 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.5969, allocations: 6.094 kB / 1.144 GB, free: 14.56 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007641/0.5977, allocations: 1.039 MB / 1.145 GB, free: 13.76 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.5977, allocations: 2.031 kB / 1.145 GB, free: 13.76 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/0.5977, allocations: 17.36 kB / 1.145 GB, free: 13.76 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.5977, allocations: 6.969 kB / 1.145 GB, free: 13.75 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.5978, allocations: 11.59 kB / 1.145 GB, free: 13.75 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.5978, allocations: 3.781 kB / 1.145 GB, free: 13.75 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.5978, allocations: 6.688 kB / 1.145 GB, free: 13.74 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.5979, allocations: 263.2 kB / 1.145 GB, free: 13.54 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.5981, allocations: 95.22 kB / 1.145 GB, free: 13.48 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.094e-05/0.5981, allocations: 9.047 kB / 1.145 GB, free: 13.48 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.5983, allocations: 14.69 kB / 1.145 GB, free: 13.48 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.987e-05/0.5983, allocations: 18 kB / 1.145 GB, free: 13.47 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.5983, allocations: 8.312 kB / 1.145 GB, free: 13.46 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0005143/0.5988, allocations: 0.5821 MB / 1.146 GB, free: 13.24 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9e-08/0.5988, allocations: 0 / 1.146 GB, free: 13.24 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003772/0.5992, allocations: 162.8 kB / 1.146 GB, free: 13.21 MB / 0.9948 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.0004974/0.5997, allocations: 0.8794 MB / 1.147 GB, free: 12.45 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0003186/0.6, allocations: 236.2 kB / 1.147 GB, free: 12.38 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6, allocations: 0 / 1.147 GB, free: 12.38 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 4.257e-05/0.6, allocations: 47.25 kB / 1.147 GB, free: 12.36 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009259/0.601, allocations: 383.1 kB / 1.148 GB, free: 12.25 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004469/0.6054, allocations: 5.451 MB / 1.153 GB, free: 9.109 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.6057, allocations: 345.8 kB / 1.153 GB, free: 8.988 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0003146/0.606, allocations: 156.1 kB / 1.153 GB, free: 8.949 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/0.6062, allocations: 231.2 kB / 1.154 GB, free: 8.781 MB / 0.9948 GB Notification: Performance of SimCode: time 5.61e-07/0.6062, allocations: 0 / 1.154 GB, free: 8.781 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03628/0.6424, allocations: 20.1 MB / 1.173 GB, free: 4.852 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.714/8.357, allocations: 6.062 kB / 1.173 GB, free: 4.852 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.373435755260289]