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.000861/0.000861, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.001253/0.001253, allocations: 173 kB / 23.49 MB, free: 1.055 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.007/1.007, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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 2.038/2.038, allocations: 429.5 MB / 0.6736 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.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.383e-06/1.383e-06, allocations: 0 / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.524e-05/2.662e-05, allocations: 5.672 kB / 0.8782 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.03799/0.03801, allocations: 51.54 MB / 0.9285 GB, free: 2.969 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01575/0.05376, allocations: 13.02 MB / 0.9412 GB, free: 5.91 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002607/0.05637, allocations: 107.1 kB / 0.9413 GB, free: 5.805 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.001935/0.0583, allocations: 0.7758 MB / 0.9421 GB, free: 5.023 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.004433/0.06274, allocations: 1.981 MB / 0.944 GB, free: 3.031 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002855/0.06559, allocations: 1.412 MB / 0.9454 GB, free: 1.621 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.004273/0.06986, allocations: 3.266 MB / 0.9486 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/0.07102, allocations: 0.9481 MB / 0.9495 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003375/0.0744, allocations: 1.927 MB / 0.9514 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.07551, allocations: 0.8176 MB / 0.9522 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.07565, allocations: 96 kB / 0.9523 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002027/0.07767, allocations: 0.8963 MB / 0.9532 GB, free: 9.648 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002572/0.07793, allocations: 322.5 kB / 0.9535 GB, free: 9.332 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0006117/0.07854, allocations: 462.8 kB / 0.9539 GB, free: 8.879 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.002174/0.08072, allocations: 1.549 MB / 0.9554 GB, free: 7.324 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.08072, allocations: 4 kB / 0.9554 GB, free: 7.32 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.883e-06/0.08072, allocations: 0 / 0.9554 GB, free: 7.32 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.589e-05/0.08074, allocations: 0 / 0.9554 GB, free: 7.32 MB / 0.9167 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.001939/0.08268, allocations: 1.743 MB / 0.9571 GB, free: 5.531 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.08272, allocations: 8.031 kB / 0.9571 GB, free: 5.523 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000528/0.08325, allocations: 275.9 kB / 0.9574 GB, free: 5.254 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.08469, allocations: 1.041 MB / 0.9584 GB, free: 4.168 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.38e-05/0.08475, allocations: 66.38 kB / 0.9585 GB, free: 4.102 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.468e-05/0.08483, allocations: 80.38 kB / 0.9586 GB, free: 4.023 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.08586, allocations: 0.9702 MB / 0.9595 GB, free: 2.91 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.08587, allocations: 3.938 kB / 0.9595 GB, free: 2.906 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.196e-05/0.08593, allocations: 36 kB / 0.9595 GB, free: 2.871 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.08595, allocations: 24 kB / 0.9596 GB, free: 2.848 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004823/0.08643, allocations: 311.5 kB / 0.9599 GB, free: 2.543 MB / 0.9167 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.003468/0.0899, allocations: 4.83 MB / 0.9646 GB, free: 13.55 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005279/0.09043, allocations: 191.2 kB / 0.9648 GB, free: 13.36 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.09057, allocations: 75.66 kB / 0.9648 GB, free: 13.28 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002773/0.09084, allocations: 103.9 kB / 0.9649 GB, free: 13.18 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.09087, allocations: 41.38 kB / 0.965 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=29): time 3.576e-06/0.09087, allocations: 0 / 0.965 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of matching and sorting (n=29): time 0.00107/0.09194, allocations: 0.5019 MB / 0.9655 GB, free: 12.61 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.09197, allocations: 55.41 kB / 0.9655 GB, free: 12.54 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007208/0.0927, allocations: 0.835 MB / 0.9663 GB, free: 11.68 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.728e-05/0.09273, allocations: 33.7 kB / 0.9664 GB, free: 11.64 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003601/0.09309, allocations: 0.6507 MB / 0.967 GB, free: 10.98 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.621e-05/0.09317, allocations: 107.1 kB / 0.9671 GB, free: 10.88 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.09329, allocations: 119.7 kB / 0.9672 GB, free: 10.75 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003214/0.09361, allocations: 0.5042 MB / 0.9677 GB, free: 10.24 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.09373, allocations: 68.95 kB / 0.9678 GB, free: 10.18 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/0.09404, allocations: 0.4952 MB / 0.9683 GB, free: 9.523 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003677/0.09441, allocations: 446.5 kB / 0.9687 GB, free: 8.965 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.09441, allocations: 0 / 0.9687 GB, free: 8.965 MB / 0.9323 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006237/0.09503, allocations: 0.5032 MB / 0.9692 GB, free: 8.441 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.09505, allocations: 9.875 kB / 0.9692 GB, free: 8.434 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.09506, allocations: 8.844 kB / 0.9692 GB, free: 8.426 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003978/0.09546, allocations: 134.9 kB / 0.9693 GB, free: 8.281 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002909/0.09575, allocations: 123.8 kB / 0.9694 GB, free: 8.16 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009923/0.09674, allocations: 2.439 MB / 0.9718 GB, free: 5.625 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003211/0.09707, allocations: 63.59 kB / 0.9719 GB, free: 5.562 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-05/0.09711, allocations: 31.98 kB / 0.9719 GB, free: 5.531 MB / 0.9323 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.0973, allocations: 192.4 kB / 0.9721 GB, free: 5.332 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.09741, allocations: 115.4 kB / 0.9722 GB, free: 5.219 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006859/0.0981, allocations: 452.4 kB / 0.9726 GB, free: 4.758 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.09811, allocations: 11.98 kB / 0.9727 GB, free: 4.746 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.09812, allocations: 192 / 0.9727 GB, free: 4.746 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.09812, allocations: 4 kB / 0.9727 GB, free: 4.742 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/0.09945, allocations: 1.191 MB / 0.9738 GB, free: 3.477 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.82e-06/0.09946, allocations: 0 / 0.9738 GB, free: 3.477 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.09967, allocations: 72.12 kB / 0.9739 GB, free: 3.406 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002711/0.09994, allocations: 122.9 kB / 0.974 GB, free: 3.273 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.09996, allocations: 11.98 kB / 0.974 GB, free: 3.262 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009713/0.1009, allocations: 2.427 MB / 0.9764 GB, free: 0.7383 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1009, allocations: 4 kB / 0.9764 GB, free: 0.7344 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005598/0.1015, allocations: 0.5872 MB / 0.977 GB, free: 92 kB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002398/0.1017, allocations: 167.3 kB / 0.9771 GB, free: 15.92 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.635e-05/0.1018, allocations: 12 kB / 0.9771 GB, free: 15.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.102, allocations: 28.05 kB / 0.9772 GB, free: 15.88 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.763e-05/0.1021, allocations: 31.94 kB / 0.9772 GB, free: 15.85 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.53e-05/0.1022, allocations: 23.98 kB / 0.9772 GB, free: 15.83 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004617/0.1026, allocations: 0.5141 MB / 0.9777 GB, free: 15.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.1026, allocations: 0 / 0.9777 GB, free: 15.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008324/0.1034, allocations: 390.8 kB / 0.9781 GB, free: 14.92 MB / 0.948 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.0005505/0.104, allocations: 409.1 kB / 0.9785 GB, free: 14.52 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006302/0.1046, allocations: 305.5 kB / 0.9788 GB, free: 14.22 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1046, allocations: 192 / 0.9788 GB, free: 14.22 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002534/0.1049, allocations: 163.4 kB / 0.9789 GB, free: 14.05 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.106, allocations: 433 kB / 0.9793 GB, free: 13.64 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.1082, allocations: 1.669 MB / 0.981 GB, free: 11.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.1084, allocations: 215.5 kB / 0.9812 GB, free: 11.67 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004156/0.1088, allocations: 165.5 kB / 0.9813 GB, free: 11.51 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.83e-05/0.1089, allocations: 64.5 kB / 0.9814 GB, free: 11.45 MB / 0.948 GB Notification: Performance of SimCode: time 1.112e-06/0.1089, allocations: 0 / 0.9814 GB, free: 11.45 MB / 0.948 GB Notification: Performance of Templates: time 0.02329/0.1322, allocations: 18.59 MB / 0.9996 GB, free: 9.238 MB / 0.9636 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.778562519932166]