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.001589/0.001589, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002059/0.002059, allocations: 217 kB / 23.03 MB, free: 4.922 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.888/2.888, allocations: 476.8 MB / 0.7715 GB, free: 3.906 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",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.002026/0.002026, allocations: 66.55 kB / 1.118 GB, free: 39.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.354, allocations: 170 MB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2277/0.5817, allocations: 165.3 MB / 1.446 GB, free: 4.758 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02032/0.602, allocations: 11.98 MB / 1.457 GB, free: 8.746 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001574/0.6036, allocations: 43.69 kB / 1.457 GB, free: 8.703 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001697/0.6053, allocations: 417.3 kB / 1.458 GB, free: 8.293 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003119/0.6084, allocations: 0.9566 MB / 1.459 GB, free: 7.332 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002359/0.6107, allocations: 0.7243 MB / 1.459 GB, free: 6.613 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0026/0.6133, allocations: 1.54 MB / 1.461 GB, free: 5.07 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.6144, allocations: 499.1 kB / 1.461 GB, free: 4.566 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004957/0.6194, allocations: 1.771 MB / 1.463 GB, free: 2.789 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00188/0.6212, allocations: 0.5348 MB / 1.464 GB, free: 2.258 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002497/0.6215, allocations: 52 kB / 1.464 GB, free: 2.207 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001885/0.6234, allocations: 0.7521 MB / 1.464 GB, free: 1.453 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004606/0.6238, allocations: 295.1 kB / 1.465 GB, free: 1.164 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006579/0.6245, allocations: 310.5 kB / 1.465 GB, free: 0.8594 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002595/0.6271, allocations: 1.156 MB / 1.466 GB, free: 15.7 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.6271, allocations: 0 / 1.466 GB, free: 15.7 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6271, allocations: 0 / 1.466 GB, free: 15.7 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.603e-05/0.6271, allocations: 0 / 1.466 GB, free: 15.7 MB / 1.17 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.001972/0.6291, allocations: 1.006 MB / 1.467 GB, free: 14.66 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.6292, allocations: 8.031 kB / 1.467 GB, free: 14.65 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.822e-05/0.6292, allocations: 17.31 kB / 1.467 GB, free: 14.63 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001416/0.6293, allocations: 106.4 kB / 1.467 GB, free: 14.52 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.6304, allocations: 199.3 kB / 1.467 GB, free: 14.32 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.6314, allocations: 491.8 kB / 1.468 GB, free: 13.81 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.016e-05/0.6315, allocations: 41.31 kB / 1.468 GB, free: 13.77 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.603e-05/0.6316, allocations: 60 kB / 1.468 GB, free: 13.71 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.633, allocations: 0.7962 MB / 1.469 GB, free: 12.8 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.633, allocations: 11.88 kB / 1.469 GB, free: 12.79 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.935e-05/0.6331, allocations: 24 kB / 1.469 GB, free: 12.77 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.724e-05/0.6331, allocations: 21 kB / 1.469 GB, free: 12.75 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.6341, allocations: 463.3 kB / 1.469 GB, free: 12.29 MB / 1.17 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.004854/0.639, allocations: 4.033 MB / 1.473 GB, free: 8.09 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.6392, allocations: 98.36 kB / 1.473 GB, free: 7.957 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.6393, allocations: 71.58 kB / 1.473 GB, free: 7.875 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001559/0.6394, allocations: 23.92 kB / 1.473 GB, free: 7.852 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.6395, allocations: 38.55 kB / 1.473 GB, free: 7.805 MB / 1.17 GB Notification: Performance of pre-optimization done (n=10): time 2.104e-06/0.6395, allocations: 4 kB / 1.473 GB, free: 7.801 MB / 1.17 GB Notification: Performance of matching and sorting (n=10): time 0.0008362/0.6403, allocations: 252.9 kB / 1.474 GB, free: 7.547 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.275e-05/0.6404, allocations: 128.5 kB / 1.474 GB, free: 7.391 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.6417, allocations: 0.8411 MB / 1.475 GB, free: 6.539 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.908e-05/0.6418, allocations: 33.7 kB / 1.475 GB, free: 6.5 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.00038/0.6421, allocations: 407.7 kB / 1.475 GB, free: 6.098 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.404e-05/0.6422, allocations: 43.72 kB / 1.475 GB, free: 6.055 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.6423, allocations: 89.97 kB / 1.475 GB, free: 5.961 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.6425, allocations: 318 kB / 1.475 GB, free: 5.645 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002953/0.6428, allocations: 112.7 kB / 1.475 GB, free: 5.535 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006938/0.6435, allocations: 0.5153 MB / 1.476 GB, free: 4.867 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000629/0.6441, allocations: 441.5 kB / 1.476 GB, free: 4.328 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/0.6441, allocations: 4 kB / 1.476 GB, free: 4.324 MB / 1.17 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001053/0.6452, allocations: 0.4966 MB / 1.477 GB, free: 3.82 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.6452, allocations: 11.94 kB / 1.477 GB, free: 3.809 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.6452, allocations: 8 kB / 1.477 GB, free: 3.801 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.6452, allocations: 8.781 kB / 1.477 GB, free: 3.793 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/0.6456, allocations: 99.83 kB / 1.477 GB, free: 3.695 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.177e-05/0.6456, allocations: 15.98 kB / 1.477 GB, free: 3.68 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007335/0.6463, allocations: 116.7 kB / 1.477 GB, free: 3.566 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.505e-05/0.6464, allocations: 28 kB / 1.477 GB, free: 3.539 MB / 1.17 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.0003419/0.6467, allocations: 230.1 kB / 1.477 GB, free: 3.305 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/0.6469, allocations: 79.48 kB / 1.477 GB, free: 3.227 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001507/0.6471, allocations: 74.27 kB / 1.478 GB, free: 3.152 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.6471, allocations: 0 / 1.478 GB, free: 3.152 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.051e-05/0.6471, allocations: 4 kB / 1.478 GB, free: 3.148 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.6471, allocations: 3.938 kB / 1.478 GB, free: 3.145 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/0.6487, allocations: 1.034 MB / 1.479 GB, free: 2.027 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.6487, allocations: 7.938 kB / 1.479 GB, free: 2.02 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.292e-05/0.6488, allocations: 19.98 kB / 1.479 GB, free: 2 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.6488, allocations: 480 / 1.479 GB, free: 2 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.6488, allocations: 4.125 kB / 1.479 GB, free: 1.996 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/0.6489, allocations: 11.94 kB / 1.479 GB, free: 1.984 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.6489, allocations: 4 kB / 1.479 GB, free: 1.98 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003571/0.6492, allocations: 268.5 kB / 1.479 GB, free: 1.672 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002296/0.6494, allocations: 99.42 kB / 1.479 GB, free: 1.574 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.6496, allocations: 11.97 kB / 1.479 GB, free: 1.562 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003411/0.6499, allocations: 19.98 kB / 1.479 GB, free: 1.543 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.974e-05/0.6499, allocations: 15.86 kB / 1.479 GB, free: 1.527 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.597e-06/0.6499, allocations: 4 kB / 1.479 GB, free: 1.523 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0009243/0.6509, allocations: 0.5888 MB / 1.48 GB, free: 0.9375 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/0.6509, allocations: 0 / 1.48 GB, free: 0.9375 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0006372/0.6515, allocations: 163.8 kB / 1.48 GB, free: 0.7773 MB / 1.17 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.001129/0.6526, allocations: 0.8746 MB / 1.481 GB, free: 15.86 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0006108/0.6532, allocations: 233.2 kB / 1.481 GB, free: 15.63 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6532, allocations: 0 / 1.481 GB, free: 15.63 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 8.215e-05/0.6533, allocations: 52.17 kB / 1.481 GB, free: 15.58 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001851/0.6552, allocations: 371 kB / 1.481 GB, free: 15.22 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009266/0.6644, allocations: 5.469 MB / 1.487 GB, free: 9.402 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/0.6649, allocations: 340.6 kB / 1.487 GB, free: 9.043 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000677/0.6656, allocations: 154 kB / 1.487 GB, free: 8.891 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003406/0.6659, allocations: 231.4 kB / 1.487 GB, free: 8.664 MB / 1.186 GB Notification: Performance of SimCode: time 7.21e-07/0.6659, allocations: 0 / 1.487 GB, free: 8.664 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05392/0.7198, allocations: 19.7 MB / 1.506 GB, free: 5.547 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.58, allocations: 7.25 kB / 1.506 GB, free: 5.543 MB / 1.201 GB " [Timeout remaining time 286] (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/jenkins1/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: 20.632766259950586]