Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.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.00114/0.00114, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001182/0.001182, allocations: 169 kB / 24.05 MB, free: 460 kB / 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.068/1.068, allocations: 177.2 MB / 204.5 MB, free: 5.52 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.185/2.185, allocations: 429.5 MB / 0.6743 GB, free: 3.93 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.Sources.Validation.BoundaryWithX_in,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bouMoiAir.Xi.[0-9,]+.|bouMoiAirCO2.Xi.[0-9,]+.|bouProFluGas.Xi.[0-9,]+.|bouNatGas.Xi.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in") translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bouMoiAir.Xi.[0-9,]+.|bouMoiAirCO2.Xi.[0-9,]+.|bouProFluGas.Xi.[0-9,]+.|bouNatGas.Xi.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 1.094 kB / 0.8794 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.736e-05/1.889e-05, allocations: 2.906 kB / 0.8794 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.1475/0.1475, allocations: 155.9 MB / 1.032 GB, free: 9.648 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.004316/0.1518, allocations: 3.459 MB / 1.035 GB, free: 6.18 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000495/0.1523, allocations: 67.38 kB / 1.035 GB, free: 6.113 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006248/0.1529, allocations: 309.5 kB / 1.035 GB, free: 5.809 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002081/0.155, allocations: 1.356 MB / 1.037 GB, free: 4.445 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0021/0.1571, allocations: 1.648 MB / 1.038 GB, free: 2.793 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001619/0.1587, allocations: 2.234 MB / 1.04 GB, free: 0.5508 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007602/0.1595, allocations: 0.7542 MB / 1.041 GB, free: 15.77 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002372/0.1618, allocations: 1.889 MB / 1.043 GB, free: 13.88 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005529/0.1624, allocations: 0.5998 MB / 1.044 GB, free: 13.28 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 9.038e-05/0.1625, allocations: 88 kB / 1.044 GB, free: 13.19 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001478/0.164, allocations: 1.293 MB / 1.045 GB, free: 11.89 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003405/0.1643, allocations: 0.5727 MB / 1.046 GB, free: 11.32 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.000384/0.1647, allocations: 0.4911 MB / 1.046 GB, free: 10.83 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001743/0.1664, allocations: 2.064 MB / 1.048 GB, free: 8.758 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1664, allocations: 0 / 1.048 GB, free: 8.758 MB / 1.01 GB Notification: Performance of FrontEnd: time 9.22e-07/0.1664, allocations: 3.938 kB / 1.048 GB, free: 8.754 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.1665, allocations: 0 / 1.048 GB, free: 8.754 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.001584/0.168, allocations: 1.755 MB / 1.05 GB, free: 6.953 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1681, allocations: 15.97 kB / 1.05 GB, free: 6.938 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.1691, allocations: 0.5333 MB / 1.05 GB, free: 6.402 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008702/0.17, allocations: 0.8896 MB / 1.051 GB, free: 5.484 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.824e-05/0.17, allocations: 74.06 kB / 1.051 GB, free: 5.41 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.113e-05/0.1701, allocations: 112 kB / 1.051 GB, free: 5.301 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009725/0.1711, allocations: 1.365 MB / 1.053 GB, free: 3.684 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.1711, allocations: 4 kB / 1.053 GB, free: 3.68 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.917e-05/0.1712, allocations: 44 kB / 1.053 GB, free: 3.637 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.547e-05/0.1712, allocations: 69.56 kB / 1.053 GB, free: 3.57 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003425/0.1716, allocations: 299 kB / 1.053 GB, free: 3.273 MB / 1.01 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.7567/0.9282, allocations: 5.256 MB / 1.058 GB, free: 70.27 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004354/0.9287, allocations: 172.8 kB / 1.058 GB, free: 70.12 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.934e-05/0.9288, allocations: 98.64 kB / 1.058 GB, free: 70.08 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002489/0.929, allocations: 87.25 kB / 1.059 GB, free: 70.08 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.929, allocations: 43.3 kB / 1.059 GB, free: 70.04 MB / 1.01 GB Notification: Performance of pre-optimization done (n=28): time 2.995e-06/0.929, allocations: 2.906 kB / 1.059 GB, free: 70.04 MB / 1.01 GB Notification: Performance of matching and sorting (n=28): time 0.000772/0.9298, allocations: 289.6 kB / 1.059 GB, free: 70 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.9299, allocations: 133.9 kB / 1.059 GB, free: 69.85 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004498/0.9303, allocations: 0.6283 MB / 1.06 GB, free: 69.66 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.939e-05/0.9303, allocations: 32.55 kB / 1.06 GB, free: 69.63 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003439/0.9307, allocations: 0.6506 MB / 1.06 GB, free: 69.45 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 6.314e-05/0.9308, allocations: 98.5 kB / 1.06 GB, free: 69.4 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.9309, allocations: 70.53 kB / 1.06 GB, free: 69.38 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.524e-05/0.9309, allocations: 0.4976 MB / 1.061 GB, free: 68.89 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.011e-05/0.931, allocations: 24.16 kB / 1.061 GB, free: 68.89 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.9311, allocations: 293.2 kB / 1.061 GB, free: 68.59 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.9313, allocations: 179.4 kB / 1.061 GB, free: 68.47 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.9313, allocations: 0 / 1.061 GB, free: 68.47 MB / 1.01 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003747/0.9317, allocations: 243 kB / 1.062 GB, free: 68.39 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.9317, allocations: 8.25 kB / 1.062 GB, free: 68.39 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.9317, allocations: 6.531 kB / 1.062 GB, free: 68.39 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.9318, allocations: 6.078 kB / 1.062 GB, free: 68.39 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.9319, allocations: 50.17 kB / 1.062 GB, free: 68.39 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.9319, allocations: 5.438 kB / 1.062 GB, free: 68.39 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/0.9322, allocations: 25.86 kB / 1.062 GB, free: 68.39 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.9322, allocations: 17.91 kB / 1.062 GB, free: 68.39 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (30): * Single equations (assignments): 30 * 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.000258/0.9325, allocations: 186.8 kB / 1.062 GB, free: 68.23 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.9326, allocations: 86.02 kB / 1.062 GB, free: 68.18 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002947/0.9329, allocations: 200.7 kB / 1.062 GB, free: 68.12 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.9329, allocations: 2.875 kB / 1.062 GB, free: 68.12 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.9329, allocations: 3.656 kB / 1.062 GB, free: 68.12 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.9329, allocations: 3.281 kB / 1.062 GB, free: 68.12 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/0.9348, allocations: 1.566 MB / 1.064 GB, free: 67.17 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.9348, allocations: 5.781 kB / 1.064 GB, free: 67.17 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.9349, allocations: 50.98 kB / 1.064 GB, free: 67.17 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/0.935, allocations: 10.69 kB / 1.064 GB, free: 67.17 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.935, allocations: 11.83 kB / 1.064 GB, free: 67.17 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.027e-05/0.935, allocations: 12.75 kB / 1.064 GB, free: 67.17 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.935, allocations: 9.562 kB / 1.064 GB, free: 67.17 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004268/0.9354, allocations: 472 kB / 1.064 GB, free: 66.75 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/0.9356, allocations: 107.3 kB / 1.064 GB, free: 66.71 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.696e-05/0.9357, allocations: 18.36 kB / 1.064 GB, free: 66.71 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.9358, allocations: 10.5 kB / 1.064 GB, free: 66.71 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.9359, allocations: 41.84 kB / 1.064 GB, free: 66.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/0.9359, allocations: 20.84 kB / 1.064 GB, free: 66.7 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000347/0.9363, allocations: 409.9 kB / 1.065 GB, free: 66.57 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.9363, allocations: 0 / 1.065 GB, free: 66.57 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001279/0.9376, allocations: 375 kB / 1.065 GB, free: 66.53 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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): 26 * 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 Backend phase and start with SimCode phase: time 0.0009417/0.9385, allocations: 425.5 kB / 1.066 GB, free: 66.45 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003083/0.9388, allocations: 149.2 kB / 1.066 GB, free: 66.43 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.9388, allocations: 0 / 1.066 GB, free: 66.43 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.9389, allocations: 86.27 kB / 1.066 GB, free: 66.42 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/0.9404, allocations: 456.3 kB / 1.066 GB, free: 66.4 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002871/0.9433, allocations: 1.875 MB / 1.068 GB, free: 65.3 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.9436, allocations: 285.9 kB / 1.068 GB, free: 65.22 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004229/0.944, allocations: 99.42 kB / 1.068 GB, free: 65.21 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007181/0.9447, allocations: 417.8 kB / 1.069 GB, free: 65.14 MB / 1.01 GB Notification: Performance of SimCode: time 1.654e-06/0.9447, allocations: 0 / 1.069 GB, free: 65.14 MB / 1.01 GB Notification: Performance of Templates: time 0.03066/0.9754, allocations: 17.28 MB / 1.086 GB, free: 63.54 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.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: 7.392403652891517]