Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.001008/0.001008, 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.000978/0.000978, 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 0.932/0.932, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.88/1.88, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.541e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.01035/0.01037, allocations: 13.22 MB / 0.8 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.007216/0.01759, allocations: 5.395 MB / 0.8053 GB, free: 9.848 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009299/0.01852, allocations: 83.31 kB / 0.8054 GB, free: 9.766 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0007021/0.01922, allocations: 365.3 kB / 0.8057 GB, free: 9.406 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.00207/0.02129, allocations: 1.348 MB / 0.807 GB, free: 8.051 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.02296, allocations: 1.103 MB / 0.8081 GB, free: 6.945 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003032/0.02599, allocations: 3.403 MB / 0.8114 GB, free: 3.539 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001454/0.02744, allocations: 0.8226 MB / 0.8122 GB, free: 2.695 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00202/0.02946, allocations: 1.505 MB / 0.8137 GB, free: 1.207 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009458/0.03041, allocations: 0.8138 MB / 0.8145 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.03054, allocations: 100 kB / 0.8146 GB, free: 300 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005685/0.03111, allocations: 311.5 kB / 0.8149 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002227/0.03133, allocations: 310.7 kB / 0.8152 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0004766/0.03181, allocations: 442.9 kB / 0.8156 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.03313, allocations: 1.07 MB / 0.8167 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.03313, allocations: 0 / 0.8167 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.092e-06/0.03313, allocations: 0 / 0.8167 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.03314, allocations: 4 kB / 0.8167 GB, free: 14.17 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.001855/0.035, allocations: 1.515 MB / 0.8181 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.03504, allocations: 8.031 kB / 0.8181 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003674/0.0354, allocations: 207.9 kB / 0.8183 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.03684, allocations: 1.078 MB / 0.8194 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.641e-05/0.03691, allocations: 62.36 kB / 0.8195 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.03701, allocations: 71.94 kB / 0.8195 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009904/0.038, allocations: 0.748 MB / 0.8203 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.03802, allocations: 3.938 kB / 0.8203 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.715e-05/0.03808, allocations: 36 kB / 0.8203 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.56e-05/0.03812, allocations: 20 kB / 0.8203 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005183/0.03863, allocations: 247.6 kB / 0.8206 GB, free: 10.03 MB / 0.7761 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.002895/0.04153, allocations: 2.923 MB / 0.8234 GB, free: 7.004 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003211/0.04185, allocations: 154.9 kB / 0.8236 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.04199, allocations: 79.59 kB / 0.8236 GB, free: 6.758 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001235/0.04211, allocations: 35.97 kB / 0.8237 GB, free: 6.723 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.04214, allocations: 33.39 kB / 0.8237 GB, free: 6.68 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=31): time 1.703e-06/0.04214, allocations: 0 / 0.8237 GB, free: 6.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=31): time 0.00055/0.04269, allocations: 302.3 kB / 0.824 GB, free: 6.379 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.04272, allocations: 59.41 kB / 0.824 GB, free: 6.309 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007715/0.04349, allocations: 0.757 MB / 0.8248 GB, free: 5.535 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.04353, allocations: 37.7 kB / 0.8248 GB, free: 5.492 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003435/0.04387, allocations: 0.5535 MB / 0.8254 GB, free: 4.93 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.955e-05/0.04396, allocations: 119 kB / 0.8255 GB, free: 4.812 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003826/0.04434, allocations: 131.8 kB / 0.8256 GB, free: 4.676 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.04447, allocations: 0.4965 MB / 0.8261 GB, free: 4.172 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.04461, allocations: 65.27 kB / 0.8261 GB, free: 4.109 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003209/0.04493, allocations: 472.8 kB / 0.8266 GB, free: 3.504 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004094/0.04534, allocations: 392.2 kB / 0.827 GB, free: 3.023 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.04534, allocations: 4.062 kB / 0.827 GB, free: 3.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006143/0.04596, allocations: 456.8 kB / 0.8274 GB, free: 2.566 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.04597, allocations: 8 kB / 0.8274 GB, free: 2.559 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.485e-06/0.04598, allocations: 4 kB / 0.8274 GB, free: 2.555 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.046, allocations: 8 kB / 0.8274 GB, free: 2.547 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/0.04632, allocations: 115.8 kB / 0.8275 GB, free: 2.434 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.04633, allocations: 11.98 kB / 0.8275 GB, free: 2.422 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003028/0.04663, allocations: 55.62 kB / 0.8276 GB, free: 2.367 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/0.04667, allocations: 28.2 kB / 0.8276 GB, free: 2.34 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0001745/0.04685, allocations: 196.4 kB / 0.8278 GB, free: 2.137 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.04697, allocations: 103.4 kB / 0.8279 GB, free: 2.035 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004726/0.04744, allocations: 308.3 kB / 0.8282 GB, free: 1.73 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.04745, allocations: 4 kB / 0.8282 GB, free: 1.727 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.04745, allocations: 0 / 0.8282 GB, free: 1.727 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002982/0.04775, allocations: 283.2 kB / 0.8285 GB, free: 1.422 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.049, allocations: 1.048 MB / 0.8295 GB, free: 320 kB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.049, allocations: 4 kB / 0.8295 GB, free: 316 kB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.04922, allocations: 71.89 kB / 0.8296 GB, free: 244 kB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.04923, allocations: 4 kB / 0.8296 GB, free: 240 kB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.04925, allocations: 8 kB / 0.8296 GB, free: 232 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.04925, allocations: 0 / 0.8296 GB, free: 232 kB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.04925, allocations: 4 kB / 0.8296 GB, free: 228 kB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006088/0.04986, allocations: 0.5466 MB / 0.8301 GB, free: 15.64 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/0.05007, allocations: 135.3 kB / 0.8303 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.848e-05/0.05014, allocations: 12.09 kB / 0.8303 GB, free: 15.49 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/0.05042, allocations: 19.97 kB / 0.8303 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.3e-05/0.05048, allocations: 39.77 kB / 0.8303 GB, free: 15.43 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.05052, allocations: 19.98 kB / 0.8303 GB, free: 15.41 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004854/0.051, allocations: 486.9 kB / 0.8308 GB, free: 14.94 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7.1e-08/0.051, allocations: 0 / 0.8308 GB, free: 14.94 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0006417/0.05164, allocations: 283.3 kB / 0.8311 GB, free: 14.66 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0002856/0.05193, allocations: 187 kB / 0.8313 GB, free: 14.47 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0004091/0.05234, allocations: 249.4 kB / 0.8315 GB, free: 14.23 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.05234, allocations: 0 / 0.8315 GB, free: 14.23 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.0525, allocations: 107.5 kB / 0.8316 GB, free: 14.12 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/0.05398, allocations: 0.5015 MB / 0.8321 GB, free: 13.63 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/0.05623, allocations: 1.457 MB / 0.8335 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.05638, allocations: 199.2 kB / 0.8337 GB, free: 11.89 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0003886/0.05676, allocations: 165.5 kB / 0.8339 GB, free: 11.73 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.05689, allocations: 72.48 kB / 0.8339 GB, free: 11.66 MB / 0.7917 GB Notification: Performance of SimCode: time 7.61e-07/0.05689, allocations: 0 / 0.8339 GB, free: 11.66 MB / 0.7917 GB Notification: Performance of Templates: time 0.02214/0.07903, allocations: 16.24 MB / 0.8498 GB, free: 11.84 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.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.540527613833547]