Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.001503/0.001503, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001821/0.001821, allocations: 214 kB / 22.99 MB, free: 4.945 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.809 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 3.404/3.404, allocations: 0.5107 GB / 0.8166 GB, free: 17.79 MB / 0.6231 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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") [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.002181/0.002181, allocations: 63.47 kB / 1.187 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.4008, allocations: 181.9 MB / 1.365 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.2004/0.6012, allocations: 150.7 MB / 1.512 GB, free: 6.242 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.006311/0.6075, allocations: 3.209 MB / 1.515 GB, free: 3.027 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008345/0.6083, allocations: 27.75 kB / 1.515 GB, free: 3 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.6094, allocations: 302.2 kB / 1.515 GB, free: 2.703 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003085/0.6125, allocations: 1.058 MB / 1.516 GB, free: 1.641 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001907/0.6144, allocations: 0.685 MB / 1.517 GB, free: 0.9609 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002124/0.6165, allocations: 1.556 MB / 1.518 GB, free: 15.4 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000596/0.6171, allocations: 373.7 kB / 1.519 GB, free: 15.03 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001404/0.6185, allocations: 0.7512 MB / 1.52 GB, free: 14.28 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/0.6197, allocations: 479 kB / 1.52 GB, free: 13.81 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 9.506e-05/0.6198, allocations: 56 kB / 1.52 GB, free: 13.76 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001435/0.6212, allocations: 0.6896 MB / 1.521 GB, free: 13.07 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002764/0.6215, allocations: 251.3 kB / 1.521 GB, free: 12.82 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0003203/0.6218, allocations: 278.8 kB / 1.521 GB, free: 12.55 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.6233, allocations: 1.114 MB / 1.522 GB, free: 11.43 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.6233, allocations: 0 / 1.522 GB, free: 11.43 MB / 1.217 GB Notification: Performance of FrontEnd: time 3.717e-06/0.6233, allocations: 3.984 kB / 1.522 GB, free: 11.43 MB / 1.217 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.6233, allocations: 0 / 1.522 GB, free: 11.43 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001409/0.6247, allocations: 0.8626 MB / 1.523 GB, free: 10.53 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.6247, allocations: 8.031 kB / 1.523 GB, free: 10.52 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.6259, allocations: 175.5 kB / 1.523 GB, free: 10.35 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008809/0.6268, allocations: 466.5 kB / 1.524 GB, free: 9.871 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/0.6268, allocations: 29 kB / 1.524 GB, free: 9.844 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.292e-05/0.6269, allocations: 55.88 kB / 1.524 GB, free: 9.789 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009583/0.6278, allocations: 0.7142 MB / 1.525 GB, free: 9.008 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.6278, allocations: 0 / 1.525 GB, free: 9.008 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.312e-05/0.6279, allocations: 20 kB / 1.525 GB, free: 8.988 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.011e-05/0.6279, allocations: 20.98 kB / 1.525 GB, free: 8.965 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006637/0.6286, allocations: 407.7 kB / 1.525 GB, free: 8.57 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002271/0.6309, allocations: 1.137 MB / 1.526 GB, free: 7.398 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004847/0.6313, allocations: 278.6 kB / 1.526 GB, free: 7.117 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002749/0.6316, allocations: 168.8 kB / 1.527 GB, free: 6.949 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001398/0.6318, allocations: 23.98 kB / 1.527 GB, free: 6.926 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.6318, allocations: 42.5 kB / 1.527 GB, free: 6.875 MB / 1.217 GB Notification: Performance of pre-optimization done (n=31): time 1.633e-06/0.6318, allocations: 3.938 kB / 1.527 GB, free: 6.871 MB / 1.217 GB Notification: Performance of matching and sorting (n=33): time 0.001956/0.6338, allocations: 0.9898 MB / 1.528 GB, free: 5.848 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.6338, allocations: 59.39 kB / 1.528 GB, free: 5.777 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00038/0.6342, allocations: 353.6 kB / 1.528 GB, free: 5.426 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.408e-05/0.6342, allocations: 33.7 kB / 1.528 GB, free: 5.387 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.6344, allocations: 268.5 kB / 1.528 GB, free: 5.121 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.6345, allocations: 119 kB / 1.528 GB, free: 5.004 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.6346, allocations: 69.66 kB / 1.528 GB, free: 4.93 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.6348, allocations: 350.8 kB / 1.529 GB, free: 4.578 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.635, allocations: 135.9 kB / 1.529 GB, free: 4.445 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.6353, allocations: 245.1 kB / 1.529 GB, free: 4.172 MB / 1.217 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001908/0.6372, allocations: 0.7867 MB / 1.53 GB, free: 3.363 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.6372, allocations: 0 / 1.53 GB, free: 3.363 MB / 1.217 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006201/0.6378, allocations: 408.9 kB / 1.53 GB, free: 2.957 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.6379, allocations: 4 kB / 1.53 GB, free: 2.953 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.6379, allocations: 4 kB / 1.53 GB, free: 2.949 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.6379, allocations: 0 / 1.53 GB, free: 2.949 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/0.6382, allocations: 75.84 kB / 1.53 GB, free: 2.875 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.6382, allocations: 4 kB / 1.53 GB, free: 2.871 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003513/0.6386, allocations: 19.94 kB / 1.53 GB, free: 2.852 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.6386, allocations: 12 kB / 1.53 GB, free: 2.84 MB / 1.217 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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.0002823/0.6389, allocations: 219 kB / 1.531 GB, free: 2.617 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.57e-05/0.639, allocations: 43.7 kB / 1.531 GB, free: 2.574 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.6391, allocations: 56.23 kB / 1.531 GB, free: 2.516 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.6391, allocations: 4 kB / 1.531 GB, free: 2.512 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.6391, allocations: 0 / 1.531 GB, free: 2.512 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005319/0.6396, allocations: 408.3 kB / 1.531 GB, free: 2.082 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.6414, allocations: 1.081 MB / 1.532 GB, free: 0.9141 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.6414, allocations: 4 kB / 1.532 GB, free: 0.9102 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003336/0.6417, allocations: 67.91 kB / 1.532 GB, free: 0.8438 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/0.6417, allocations: 7.938 kB / 1.532 GB, free: 0.8359 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/0.6418, allocations: 15.98 kB / 1.532 GB, free: 0.8203 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.6418, allocations: 7.938 kB / 1.532 GB, free: 0.8125 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/0.6418, allocations: 8.5 kB / 1.532 GB, free: 0.8047 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008962/0.6427, allocations: 0.7021 MB / 1.533 GB, free: 40 kB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002323/0.6429, allocations: 91.61 kB / 1.533 GB, free: 15.95 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.722e-05/0.643, allocations: 8 kB / 1.533 GB, free: 15.94 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003933/0.6434, allocations: 21.67 kB / 1.533 GB, free: 15.92 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.982e-05/0.6434, allocations: 35.8 kB / 1.533 GB, free: 15.89 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.563e-05/0.6435, allocations: 23.94 kB / 1.533 GB, free: 15.86 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0002797/0.6437, allocations: 251.2 kB / 1.533 GB, free: 15.62 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6437, allocations: 4 kB / 1.533 GB, free: 15.62 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0005358/0.6443, allocations: 144 kB / 1.534 GB, free: 15.48 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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 (33): * Single equations (assignments): 33 * 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.0002998/0.6446, allocations: 147.9 kB / 1.534 GB, free: 15.32 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0005734/0.6452, allocations: 307.8 kB / 1.534 GB, free: 15.02 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6452, allocations: 3.938 kB / 1.534 GB, free: 15.02 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002399/0.6454, allocations: 161 kB / 1.534 GB, free: 14.86 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.6468, allocations: 292.8 kB / 1.534 GB, free: 14.59 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.6486, allocations: 1.163 MB / 1.536 GB, free: 13.34 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.6489, allocations: 284.5 kB / 1.536 GB, free: 13.04 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.649, allocations: 43.44 kB / 1.536 GB, free: 13 MB / 1.232 GB Notification: Performance of SimCode: time 3.31e-07/0.649, allocations: 0 / 1.536 GB, free: 13 MB / 1.232 GB Notification: Performance of Templates: time 0.01227/0.6613, allocations: 7.877 MB / 1.544 GB, free: 5.164 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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: 13.233088755980134]