Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.00109/0.00109, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001102/0.001102, allocations: 161 kB / 23.81 MB, free: 0.7539 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.9522/0.9522, 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.023/2.023, allocations: 377.8 MB / 0.6236 GB, free: 8.574 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.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.[0-9,]+.|conDryAirWithC.outlet.forward.C.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.[0-9,]+.|conDryAirWithC.outlet.forward.C.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.8e-05/4.032e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1449/0.1449, allocations: 149.7 MB / 0.9578 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0008774/0.1458, allocations: 0.5686 MB / 0.9583 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001988/0.146, allocations: 11.94 kB / 0.9583 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004328/0.1464, allocations: 127.1 kB / 0.9585 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.000274/0.1467, allocations: 95.25 kB / 0.9585 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.1478, allocations: 0.5368 MB / 0.9591 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0004355/0.1482, allocations: 418.5 kB / 0.9595 GB, free: 9.762 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002052/0.1484, allocations: 92.27 kB / 0.9596 GB, free: 9.668 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003078/0.1487, allocations: 239.3 kB / 0.9598 GB, free: 9.434 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.1489, allocations: 135.6 kB / 0.9599 GB, free: 9.301 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.1489, allocations: 16 kB / 0.9599 GB, free: 9.285 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005525/0.1495, allocations: 386.7 kB / 0.9603 GB, free: 8.906 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 9.237e-05/0.1496, allocations: 67.8 kB / 0.9604 GB, free: 8.84 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 8.552e-05/0.1496, allocations: 75.77 kB / 0.9604 GB, free: 8.766 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0006094/0.1503, allocations: 378.7 kB / 0.9608 GB, free: 8.395 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/0.1503, allocations: 11.92 kB / 0.9608 GB, free: 8.383 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.325e-06/0.1503, allocations: 0 / 0.9608 GB, free: 8.383 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.1503, allocations: 0 / 0.9608 GB, free: 8.383 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0008015/0.1511, allocations: 0.5506 MB / 0.9613 GB, free: 7.797 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.1511, allocations: 12.03 kB / 0.9614 GB, free: 7.785 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002806/0.1514, allocations: 68.72 kB / 0.9614 GB, free: 7.719 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.1517, allocations: 214.8 kB / 0.9616 GB, free: 7.484 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001574/0.1518, allocations: 246 kB / 0.9619 GB, free: 7.191 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.1518, allocations: 20 kB / 0.9619 GB, free: 7.172 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/0.1522, allocations: 285.8 kB / 0.9622 GB, free: 6.844 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1522, allocations: 4 kB / 0.9622 GB, free: 6.84 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.1522, allocations: 8 kB / 0.9622 GB, free: 6.832 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.1522, allocations: 11.98 kB / 0.9622 GB, free: 6.82 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.1524, allocations: 97.7 kB / 0.9623 GB, free: 6.727 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.1535, allocations: 2.02 MB / 0.9642 GB, free: 4.617 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 9.939e-05/0.1536, allocations: 269.4 kB / 0.9645 GB, free: 4.34 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.167e-05/0.1536, allocations: 130.8 kB / 0.9646 GB, free: 4.207 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.836e-05/0.1537, allocations: 119.2 kB / 0.9647 GB, free: 4.09 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.148e-05/0.1537, allocations: 160.5 kB / 0.9649 GB, free: 3.922 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 2.324e-06/0.1537, allocations: 0 / 0.9649 GB, free: 3.922 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 8.172e-05/0.1538, allocations: 41.55 kB / 0.9649 GB, free: 3.875 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/0.1539, allocations: 174.6 kB / 0.9651 GB, free: 3.691 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.1541, allocations: 269.4 kB / 0.9654 GB, free: 3.406 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.1541, allocations: 29.7 kB / 0.9654 GB, free: 3.371 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.1543, allocations: 254.3 kB / 0.9656 GB, free: 3.113 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 7.163e-06/0.1543, allocations: 8 kB / 0.9656 GB, free: 3.105 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.274e-05/0.1543, allocations: 43.36 kB / 0.9657 GB, free: 3.055 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1545, allocations: 0.4923 MB / 0.9662 GB, free: 2.551 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.884e-05/0.1545, allocations: 19.94 kB / 0.9662 GB, free: 2.531 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.1546, allocations: 196.1 kB / 0.9664 GB, free: 2.258 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.1548, allocations: 225.5 kB / 0.9666 GB, free: 1.953 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1548, allocations: 0 / 0.9666 GB, free: 1.953 MB / 0.9167 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002502/0.1551, allocations: 177.1 kB / 0.9667 GB, free: 1.773 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.1551, allocations: 11.94 kB / 0.9668 GB, free: 1.762 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1551, allocations: 4 kB / 0.9668 GB, free: 1.758 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.1551, allocations: 4.625 kB / 0.9668 GB, free: 1.754 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.1552, allocations: 43.92 kB / 0.9668 GB, free: 1.711 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.1552, allocations: 11.98 kB / 0.9668 GB, free: 1.699 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.211e-05/0.1553, allocations: 19.84 kB / 0.9668 GB, free: 1.68 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.1553, allocations: 16 kB / 0.9669 GB, free: 1.664 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001005/0.1554, allocations: 291.6 kB / 0.9671 GB, free: 1.367 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.604e-05/0.1555, allocations: 164.7 kB / 0.9673 GB, free: 1.199 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.49e-05/0.1555, allocations: 165.3 kB / 0.9674 GB, free: 1.031 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.155e-05/0.1556, allocations: 264.1 kB / 0.9677 GB, free: 0.7656 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.037e-05/0.1556, allocations: 272 kB / 0.968 GB, free: 0.4922 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000212/0.1559, allocations: 268.1 kB / 0.9682 GB, free: 228 kB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.1561, allocations: 0.5545 MB / 0.9688 GB, free: 15.62 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.369e-05/0.1561, allocations: 148.9 kB / 0.9689 GB, free: 15.47 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.237e-05/0.1562, allocations: 148.9 kB / 0.969 GB, free: 15.32 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.844e-05/0.1562, allocations: 272 kB / 0.9693 GB, free: 15.05 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.888e-05/0.1563, allocations: 268.1 kB / 0.9696 GB, free: 14.78 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.648e-05/0.1563, allocations: 268 kB / 0.9698 GB, free: 14.51 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.713e-05/0.1564, allocations: 264.1 kB / 0.9701 GB, free: 14.24 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.1565, allocations: 464.2 kB / 0.9705 GB, free: 13.76 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 5.699e-05/0.1566, allocations: 168.7 kB / 0.9707 GB, free: 13.59 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.059e-05/0.1567, allocations: 272 kB / 0.9709 GB, free: 13.32 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.202e-05/0.1567, allocations: 148.8 kB / 0.9711 GB, free: 13.16 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.957e-05/0.1568, allocations: 268.1 kB / 0.9713 GB, free: 12.89 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.184e-05/0.1568, allocations: 152.8 kB / 0.9715 GB, free: 12.74 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001029/0.1569, allocations: 178.6 kB / 0.9716 GB, free: 12.57 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5e-08/0.1569, allocations: 0 / 0.9716 GB, free: 12.57 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002704/0.1572, allocations: 63.78 kB / 0.9717 GB, free: 12.5 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0002296/0.1574, allocations: 246.3 kB / 0.9719 GB, free: 12.25 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0001498/0.1576, allocations: 67.47 kB / 0.972 GB, free: 12.18 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1576, allocations: 1.25 kB / 0.972 GB, free: 12.18 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.1576, allocations: 0 / 0.972 GB, free: 12.18 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.1579, allocations: 0.7178 MB / 0.9727 GB, free: 11.46 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006599/0.1585, allocations: 435.1 kB / 0.9731 GB, free: 11.01 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.887e-05/0.1586, allocations: 75.81 kB / 0.9732 GB, free: 10.91 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 7.562e-05/0.1587, allocations: 25.48 kB / 0.9732 GB, free: 10.89 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.173e-05/0.1587, allocations: 12.5 kB / 0.9732 GB, free: 10.88 MB / 0.9323 GB Notification: Performance of SimCode: time 8.02e-07/0.1587, allocations: 0 / 0.9732 GB, free: 10.88 MB / 0.9323 GB Notification: Performance of Templates: time 0.003467/0.1622, allocations: 1.168 MB / 0.9744 GB, free: 9.727 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.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.548522361088544]