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.0009778/0.0009778, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001402/0.001402, allocations: 177 kB / 23.36 MB, free: 1.129 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 0.9696/0.9696, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.362/2.362, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.192e-06/1.192e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/1.95e-05, allocations: 8.5 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.01262/0.01264, allocations: 15.78 MB / 0.854 GB, free: 14.37 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0104/0.02305, allocations: 6.137 MB / 0.86 GB, free: 8.219 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002194/0.02524, allocations: 111.1 kB / 0.8601 GB, free: 8.109 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.02626, allocations: 444.5 kB / 0.8605 GB, free: 7.672 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.00214/0.0284, allocations: 1.177 MB / 0.8617 GB, free: 6.488 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002121/0.03052, allocations: 1.35 MB / 0.863 GB, free: 5.145 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.003341/0.03386, allocations: 3.185 MB / 0.8661 GB, free: 1.949 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001255/0.03512, allocations: 0.9716 MB / 0.867 GB, free: 0.9375 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002488/0.03761, allocations: 1.634 MB / 0.8686 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009759/0.03858, allocations: 0.7591 MB / 0.8694 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001558/0.03874, allocations: 96 kB / 0.8695 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007371/0.03948, allocations: 483 kB / 0.8699 GB, free: 14.01 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0002105/0.03969, allocations: 314.5 kB / 0.8702 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0003783/0.04007, allocations: 458.8 kB / 0.8707 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001252/0.04132, allocations: 1.222 MB / 0.8719 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.04132, allocations: 0 / 0.8719 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.242e-06/0.04132, allocations: 0 / 0.8719 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.197e-05/0.04134, allocations: 0 / 0.8719 GB, free: 12.02 MB / 0.8386 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.001589/0.04293, allocations: 1.544 MB / 0.8734 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.04297, allocations: 12.62 kB / 0.8734 GB, free: 10.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000408/0.04338, allocations: 216.7 kB / 0.8736 GB, free: 10.22 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000956/0.04433, allocations: 0.7582 MB / 0.8743 GB, free: 9.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.016e-05/0.04438, allocations: 70.38 kB / 0.8744 GB, free: 9.344 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.358e-05/0.04446, allocations: 88.36 kB / 0.8745 GB, free: 9.258 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009271/0.04538, allocations: 0.863 MB / 0.8753 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.0454, allocations: 4 kB / 0.8753 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.731e-05/0.04545, allocations: 39.98 kB / 0.8754 GB, free: 8.234 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.04546, allocations: 20 kB / 0.8754 GB, free: 8.215 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000293/0.04576, allocations: 252.3 kB / 0.8756 GB, free: 7.969 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.002779/0.04854, allocations: 3.223 MB / 0.8788 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/0.04885, allocations: 205.1 kB / 0.879 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.554e-05/0.04892, allocations: 71.58 kB / 0.879 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/0.04903, allocations: 27.98 kB / 0.8791 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.04905, allocations: 34.56 kB / 0.8791 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=29): time 1.943e-06/0.04905, allocations: 0 / 0.8791 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29): time 0.0007507/0.0498, allocations: 392.8 kB / 0.8795 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.04983, allocations: 55.41 kB / 0.8795 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005176/0.05035, allocations: 0.762 MB / 0.8803 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.05038, allocations: 29.7 kB / 0.8803 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002286/0.0506, allocations: 481.4 kB / 0.8808 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.111e-05/0.05067, allocations: 111.1 kB / 0.8809 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.05077, allocations: 110 kB / 0.881 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.613e-05/0.05085, allocations: 329.9 kB / 0.8813 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.05095, allocations: 59.8 kB / 0.8813 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.05119, allocations: 416 kB / 0.8817 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.05149, allocations: 374.3 kB / 0.8821 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.05149, allocations: 0 / 0.8821 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0004316/0.05192, allocations: 393.8 kB / 0.8825 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.05194, allocations: 12.03 kB / 0.8825 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.05195, allocations: 4.047 kB / 0.8825 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003293/0.05228, allocations: 118.5 kB / 0.8826 GB, free: 380 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/0.05253, allocations: 123.8 kB / 0.8827 GB, free: 256 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000683/0.05321, allocations: 1.598 MB / 0.8843 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002953/0.05351, allocations: 71.53 kB / 0.8843 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/0.05354, allocations: 24 kB / 0.8844 GB, free: 14.48 MB / 0.8542 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.000181/0.05372, allocations: 160.5 kB / 0.8845 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.286e-05/0.05379, allocations: 67.92 kB / 0.8846 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007589/0.05455, allocations: 371.2 kB / 0.8849 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.05456, allocations: 8 kB / 0.885 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.05457, allocations: 0 / 0.885 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.05457, allocations: 0 / 0.885 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.05558, allocations: 0.903 MB / 0.8858 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.05558, allocations: 0 / 0.8858 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.05576, allocations: 72.12 kB / 0.8859 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002304/0.05599, allocations: 106.4 kB / 0.886 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.05601, allocations: 15.94 kB / 0.886 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005517/0.05656, allocations: 1.591 MB / 0.8876 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.05656, allocations: 4 kB / 0.8876 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003775/0.05694, allocations: 473.4 kB / 0.888 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.05711, allocations: 127.4 kB / 0.8881 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.618e-05/0.05717, allocations: 19.94 kB / 0.8882 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.05738, allocations: 31.97 kB / 0.8882 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.05743, allocations: 27.94 kB / 0.8882 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.05746, allocations: 15.98 kB / 0.8882 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002766/0.05773, allocations: 379.8 kB / 0.8886 GB, free: 9.926 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.05773, allocations: 0 / 0.8886 GB, free: 9.926 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000574/0.05831, allocations: 315.1 kB / 0.8889 GB, free: 9.617 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.0002614/0.05857, allocations: 156.1 kB / 0.8891 GB, free: 9.453 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004424/0.05901, allocations: 273.8 kB / 0.8893 GB, free: 9.184 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.604e-05/0.05903, allocations: 12 kB / 0.8893 GB, free: 9.172 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.05922, allocations: 138.1 kB / 0.8895 GB, free: 9.035 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009435/0.06016, allocations: 430.8 kB / 0.8899 GB, free: 8.621 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.06226, allocations: 1.672 MB / 0.8915 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.06239, allocations: 199.6 kB / 0.8917 GB, free: 6.676 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0005986/0.06299, allocations: 137 kB / 0.8918 GB, free: 6.543 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000565/0.06355, allocations: 331 kB / 0.8921 GB, free: 6.219 MB / 0.8542 GB Notification: Performance of SimCode: time 8.41e-07/0.06356, allocations: 0 / 0.8921 GB, free: 6.219 MB / 0.8542 GB Notification: Performance of Templates: time 0.0226/0.08616, allocations: 17.45 MB / 0.9092 GB, free: 5.176 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 -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.72309902170673]