Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001148/0.001148, allocations: 87.58 kB / 20.45 MB, free: 4.113 MB / 18.57 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.00103/0.00103, allocations: 161 kB / 23.82 MB, free: 0.7461 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 1.044/1.044, allocations: 177.1 MB / 204.2 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.06/2.06, allocations: 377.8 MB / 0.6236 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: 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_12_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_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.863e-05/2.01e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.01272/0.01274, allocations: 16.02 MB / 0.8272 GB, free: 1.691 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.009406/0.02215, allocations: 6.047 MB / 0.8331 GB, free: 11.68 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001364/0.02351, allocations: 111.1 kB / 0.8332 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.02452, allocations: 456.4 kB / 0.8336 GB, free: 11.12 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.002867/0.02738, allocations: 1.177 MB / 0.8348 GB, free: 9.941 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002675/0.03006, allocations: 1.348 MB / 0.8361 GB, free: 8.59 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.003318/0.03338, allocations: 3.269 MB / 0.8393 GB, free: 5.305 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/0.03462, allocations: 0.9974 MB / 0.8403 GB, free: 4.277 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002315/0.03693, allocations: 1.539 MB / 0.8418 GB, free: 2.77 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.03811, allocations: 0.8137 MB / 0.8426 GB, free: 1.953 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001628/0.03827, allocations: 99.94 kB / 0.8427 GB, free: 1.855 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008509/0.03913, allocations: 495 kB / 0.8431 GB, free: 1.371 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0002211/0.03935, allocations: 322.5 kB / 0.8434 GB, free: 1.055 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0004429/0.03979, allocations: 470.8 kB / 0.8439 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.04126, allocations: 1.249 MB / 0.8451 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.04126, allocations: 0 / 0.8451 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.062e-06/0.04126, allocations: 0 / 0.8451 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.141e-05/0.04128, allocations: 0 / 0.8451 GB, free: 15.34 MB / 0.8073 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.001748/0.04303, allocations: 1.709 MB / 0.8468 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.04307, allocations: 8.031 kB / 0.8468 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004771/0.04355, allocations: 275.9 kB / 0.847 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.0449, allocations: 1.055 MB / 0.8481 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.489e-05/0.04494, allocations: 62.38 kB / 0.8481 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.139e-05/0.04502, allocations: 88.38 kB / 0.8482 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009961/0.04602, allocations: 0.962 MB / 0.8492 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.04604, allocations: 11.94 kB / 0.8492 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.171e-05/0.04609, allocations: 36 kB / 0.8492 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.04611, allocations: 24 kB / 0.8492 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004891/0.0466, allocations: 311.5 kB / 0.8495 GB, free: 10.58 MB / 0.8073 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.003663/0.05026, allocations: 4.838 MB / 0.8543 GB, free: 5.582 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000453/0.05072, allocations: 183.3 kB / 0.8544 GB, free: 5.391 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.05084, allocations: 75.64 kB / 0.8545 GB, free: 5.312 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001455/0.05099, allocations: 35.92 kB / 0.8545 GB, free: 5.277 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.05101, allocations: 37.39 kB / 0.8546 GB, free: 5.23 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=29): time 2.265e-06/0.05102, allocations: 0 / 0.8546 GB, free: 5.23 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29): time 0.001059/0.05207, allocations: 0.5041 MB / 0.8551 GB, free: 4.707 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.05211, allocations: 55.41 kB / 0.8551 GB, free: 4.641 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006997/0.05281, allocations: 0.8437 MB / 0.8559 GB, free: 3.777 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.05284, allocations: 33.7 kB / 0.856 GB, free: 3.738 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005189/0.05335, allocations: 0.6545 MB / 0.8566 GB, free: 3.074 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.256e-05/0.05343, allocations: 107.2 kB / 0.8567 GB, free: 2.969 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.05356, allocations: 127.7 kB / 0.8568 GB, free: 2.836 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.05369, allocations: 0.5003 MB / 0.8573 GB, free: 2.328 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.05381, allocations: 60.95 kB / 0.8574 GB, free: 2.27 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003095/0.05412, allocations: 0.4981 MB / 0.8579 GB, free: 1.613 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003887/0.05451, allocations: 448 kB / 0.8583 GB, free: 1.055 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.05451, allocations: 0 / 0.8583 GB, free: 1.055 MB / 0.8073 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006124/0.05512, allocations: 0.5113 MB / 0.8588 GB, free: 0.5234 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.05514, allocations: 8 kB / 0.8588 GB, free: 0.5156 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.05515, allocations: 4 kB / 0.8588 GB, free: 0.5117 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004049/0.05555, allocations: 135.6 kB / 0.8589 GB, free: 376 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.05584, allocations: 123.8 kB / 0.8591 GB, free: 252 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001057/0.0569, allocations: 2.439 MB / 0.8614 GB, free: 13.71 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003633/0.05726, allocations: 67.55 kB / 0.8615 GB, free: 13.64 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.683e-05/0.05731, allocations: 31.98 kB / 0.8615 GB, free: 13.61 MB / 0.823 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.0002215/0.05753, allocations: 188.4 kB / 0.8617 GB, free: 13.42 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.05765, allocations: 111.3 kB / 0.8618 GB, free: 13.31 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007056/0.05835, allocations: 462.3 kB / 0.8623 GB, free: 12.85 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.05836, allocations: 4 kB / 0.8623 GB, free: 12.84 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.05836, allocations: 0 / 0.8623 GB, free: 12.84 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.05837, allocations: 0 / 0.8623 GB, free: 12.84 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.0599, allocations: 1.214 MB / 0.8634 GB, free: 11.55 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.05991, allocations: 4 kB / 0.8634 GB, free: 11.55 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/0.06012, allocations: 67.94 kB / 0.8635 GB, free: 11.48 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002713/0.06039, allocations: 123.1 kB / 0.8636 GB, free: 11.35 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/0.06041, allocations: 11.98 kB / 0.8636 GB, free: 11.34 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008694/0.06128, allocations: 2.427 MB / 0.866 GB, free: 8.816 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.06129, allocations: 4.094 kB / 0.866 GB, free: 8.812 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005603/0.06185, allocations: 0.5831 MB / 0.8666 GB, free: 8.172 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002134/0.06206, allocations: 171.1 kB / 0.8667 GB, free: 8.004 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.27e-05/0.06211, allocations: 4 kB / 0.8668 GB, free: 8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.06234, allocations: 31.97 kB / 0.8668 GB, free: 7.969 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.357e-05/0.0624, allocations: 27.94 kB / 0.8668 GB, free: 7.941 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.578e-05/0.06244, allocations: 27.98 kB / 0.8668 GB, free: 7.914 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0004505/0.06289, allocations: 0.5183 MB / 0.8673 GB, free: 7.387 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.11e-07/0.06289, allocations: 0 / 0.8673 GB, free: 7.387 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0006857/0.06357, allocations: 307.2 kB / 0.8676 GB, free: 7.086 MB / 0.823 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.0003125/0.06389, allocations: 190.9 kB / 0.8678 GB, free: 6.891 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005886/0.06448, allocations: 309.7 kB / 0.8681 GB, free: 6.586 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.06448, allocations: 4 kB / 0.8681 GB, free: 6.582 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000249/0.06473, allocations: 159.4 kB / 0.8683 GB, free: 6.422 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.06586, allocations: 466.6 kB / 0.8687 GB, free: 5.98 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/0.0681, allocations: 1.686 MB / 0.8704 GB, free: 4.23 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001386/0.06824, allocations: 219.6 kB / 0.8706 GB, free: 3.996 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0003647/0.0686, allocations: 166.2 kB / 0.8707 GB, free: 3.832 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.06871, allocations: 64.48 kB / 0.8708 GB, free: 3.77 MB / 0.823 GB Notification: Performance of SimCode: time 9.92e-07/0.06871, allocations: 0 / 0.8708 GB, free: 3.77 MB / 0.823 GB Notification: Performance of Templates: time 0.02259/0.0913, allocations: 16.49 MB / 0.8869 GB, free: 3.703 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.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: 6.042995776049793]