Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.001227/0.001227, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001878/0.003105, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001157/0.001157, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001463/0.00262, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9605/0.9605, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09389/1.054, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.421/2.421, allocations: 446.7 MB / 0.6745 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2502/2.671, allocations: 145.9 MB / 0.817 GB, free: 4.215 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.8183 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.769e-05/1.899e-05, allocations: 4.703 kB / 0.8183 GB, free: 2.875 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.01188/0.01189, allocations: 15.9 MB / 0.8338 GB, free: 2.914 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01026/0.02216, allocations: 6.189 MB / 0.8399 GB, free: 12.71 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002386/0.02454, allocations: 103.1 kB / 0.84 GB, free: 12.61 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.02561, allocations: 464.3 kB / 0.8404 GB, free: 12.15 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.002601/0.02821, allocations: 1.157 MB / 0.8416 GB, free: 10.98 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002528/0.03074, allocations: 1.326 MB / 0.8429 GB, free: 9.66 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.003358/0.0341, allocations: 3.169 MB / 0.846 GB, free: 6.484 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00182/0.03592, allocations: 1.063 MB / 0.847 GB, free: 5.402 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002565/0.03848, allocations: 1.808 MB / 0.8488 GB, free: 3.613 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.03956, allocations: 0.7552 MB / 0.8495 GB, free: 2.855 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001829/0.03974, allocations: 96 kB / 0.8496 GB, free: 2.762 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008796/0.04062, allocations: 499 kB / 0.8501 GB, free: 2.273 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002045/0.04083, allocations: 246.9 kB / 0.8503 GB, free: 2.031 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006667/0.0415, allocations: 387.1 kB / 0.8507 GB, free: 1.652 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001484/0.04298, allocations: 1.133 MB / 0.8518 GB, free: 0.5156 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.539e-05/0.043, allocations: 0 / 0.8518 GB, free: 0.5156 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.044e-06/0.043, allocations: 0 / 0.8518 GB, free: 0.5156 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.455e-05/0.04305, allocations: 0 / 0.8518 GB, free: 0.5156 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.001839/0.04489, allocations: 1.822 MB / 0.8536 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.04492, allocations: 16.62 kB / 0.8536 GB, free: 14.65 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004326/0.04536, allocations: 293.8 kB / 0.8538 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009558/0.04631, allocations: 0.7737 MB / 0.8546 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.493e-05/0.04636, allocations: 66.38 kB / 0.8547 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.916e-05/0.04643, allocations: 84.38 kB / 0.8547 GB, free: 13.37 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007682/0.04719, allocations: 0.8708 MB / 0.8556 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.04721, allocations: 8 kB / 0.8556 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.364e-05/0.04725, allocations: 36 kB / 0.8556 GB, free: 12.34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.04727, allocations: 24 kB / 0.8557 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003067/0.04758, allocations: 248.3 kB / 0.8559 GB, free: 12.07 MB / 0.8386 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.002727/0.0503, allocations: 3.231 MB / 0.8591 GB, free: 8.727 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003169/0.05062, allocations: 205.1 kB / 0.8593 GB, free: 8.516 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.912e-05/0.05069, allocations: 59.67 kB / 0.8593 GB, free: 8.453 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/0.05079, allocations: 23.98 kB / 0.8593 GB, free: 8.43 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.05081, allocations: 42.55 kB / 0.8594 GB, free: 8.379 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=29): time 2.274e-06/0.05082, allocations: 0 / 0.8594 GB, free: 8.379 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29): time 0.0007271/0.05154, allocations: 395.8 kB / 0.8597 GB, free: 7.977 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.05157, allocations: 55.41 kB / 0.8598 GB, free: 7.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005446/0.05211, allocations: 0.7619 MB / 0.8605 GB, free: 7.129 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.05215, allocations: 33.7 kB / 0.8606 GB, free: 7.09 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004873/0.05263, allocations: 473.4 kB / 0.861 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.269e-05/0.05271, allocations: 115 kB / 0.8611 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.05282, allocations: 110 kB / 0.8612 GB, free: 6.395 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.648e-05/0.05292, allocations: 321.9 kB / 0.8616 GB, free: 6.074 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.05303, allocations: 63.8 kB / 0.8616 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/0.05329, allocations: 415.9 kB / 0.862 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003338/0.05362, allocations: 385.8 kB / 0.8624 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.05363, allocations: 4.062 kB / 0.8624 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005013/0.05413, allocations: 389.3 kB / 0.8628 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.05415, allocations: 8 kB / 0.8628 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.05416, allocations: 4 kB / 0.8628 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004314/0.05459, allocations: 119.1 kB / 0.8629 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/0.0549, allocations: 143.8 kB / 0.863 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009208/0.05582, allocations: 1.61 MB / 0.8646 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002966/0.05612, allocations: 63.61 kB / 0.8646 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.371e-05/0.05616, allocations: 23.98 kB / 0.8647 GB, free: 2.559 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001945/0.05635, allocations: 152.4 kB / 0.8648 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.266e-05/0.05644, allocations: 67.92 kB / 0.8649 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005535/0.05699, allocations: 373.7 kB / 0.8652 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/0.05701, allocations: 8 kB / 0.8652 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.05701, allocations: 0 / 0.8652 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.05702, allocations: 3.984 kB / 0.8652 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.05811, allocations: 0.9021 MB / 0.8661 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.05812, allocations: 0 / 0.8661 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.05835, allocations: 79.92 kB / 0.8662 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/0.05853, allocations: 123.4 kB / 0.8663 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002388/0.05877, allocations: 110.4 kB / 0.8664 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.05879, allocations: 11.98 kB / 0.8664 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005775/0.05937, allocations: 1.591 MB / 0.868 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.05937, allocations: 4 kB / 0.868 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003956/0.05977, allocations: 466.1 kB / 0.8684 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.241e-05/0.05983, allocations: 11.94 kB / 0.8685 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.06005, allocations: 36.31 kB / 0.8685 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/0.06011, allocations: 35.92 kB / 0.8685 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/0.06014, allocations: 15.98 kB / 0.8685 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002806/0.06042, allocations: 379.8 kB / 0.8689 GB, free: 14 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.06042, allocations: 0 / 0.8689 GB, free: 14 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006108/0.06103, allocations: 307.2 kB / 0.8692 GB, free: 13.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000271/0.0613, allocations: 176 kB / 0.8694 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004409/0.06174, allocations: 271.5 kB / 0.8696 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-05/0.06176, allocations: 16 kB / 0.8696 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.06196, allocations: 136.6 kB / 0.8698 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.06298, allocations: 0.5106 MB / 0.8703 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00739/0.07037, allocations: 1.694 MB / 0.8719 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.0705, allocations: 211.6 kB / 0.8721 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004264/0.07093, allocations: 130.3 kB / 0.8722 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000554/0.07148, allocations: 334.9 kB / 0.8726 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of SimCode: time 1.252e-06/0.07148, allocations: 0 / 0.8726 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of Templates: time 0.02344/0.09493, allocations: 18.23 MB / 0.8904 GB, free: 8.371 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.784699153155088]