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.0009526/0.0009526, allocations: 83.59 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.0008973/0.0008973, allocations: 169 kB / 23.82 MB, free: 0.7422 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.8915/0.8915, allocations: 177.1 MB / 204.2 MB, free: 5.238 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 1.812/1.812, allocations: 377.8 MB / 0.6236 GB, free: 8.492 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.863e-06/1.863e-06, allocations: 0 / 0.8115 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.689e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.672 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1483/0.1483, allocations: 149.7 MB / 0.9578 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0007652/0.1491, allocations: 0.5686 MB / 0.9583 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.1492, allocations: 15.88 kB / 0.9583 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003918/0.1496, allocations: 127.2 kB / 0.9585 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002483/0.1499, allocations: 99.17 kB / 0.9586 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.000907/0.1508, allocations: 0.533 MB / 0.9591 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003719/0.1512, allocations: 418.5 kB / 0.9595 GB, free: 9.703 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.1513, allocations: 88.27 kB / 0.9596 GB, free: 9.613 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002665/0.1516, allocations: 243.3 kB / 0.9598 GB, free: 9.375 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.1518, allocations: 131.6 kB / 0.9599 GB, free: 9.246 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.1518, allocations: 16 kB / 0.9599 GB, free: 9.23 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004801/0.1523, allocations: 382.7 kB / 0.9603 GB, free: 8.855 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.687e-05/0.1524, allocations: 79.72 kB / 0.9604 GB, free: 8.777 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.573e-05/0.1524, allocations: 67.84 kB / 0.9604 GB, free: 8.711 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004999/0.1529, allocations: 390.6 kB / 0.9608 GB, free: 8.328 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.1529, allocations: 0 / 0.9608 GB, free: 8.328 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1529, allocations: 0 / 0.9608 GB, free: 8.328 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.1529, allocations: 0 / 0.9608 GB, free: 8.328 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.0004777/0.1534, allocations: 0.5506 MB / 0.9613 GB, free: 7.742 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1534, allocations: 8.031 kB / 0.9614 GB, free: 7.734 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002365/0.1537, allocations: 72.7 kB / 0.9614 GB, free: 7.664 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.1539, allocations: 216.1 kB / 0.9616 GB, free: 7.426 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.154, allocations: 242 kB / 0.9619 GB, free: 7.137 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.1541, allocations: 20 kB / 0.9619 GB, free: 7.117 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004231/0.1545, allocations: 289.8 kB / 0.9622 GB, free: 6.785 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1545, allocations: 0 / 0.9622 GB, free: 6.785 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.1545, allocations: 12 kB / 0.9622 GB, free: 6.773 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.1545, allocations: 4 kB / 0.9622 GB, free: 6.77 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.1547, allocations: 109.7 kB / 0.9623 GB, free: 6.664 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009588/0.1556, allocations: 2.013 MB / 0.9642 GB, free: 4.562 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.096e-05/0.1557, allocations: 265.4 kB / 0.9645 GB, free: 4.289 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.252e-05/0.1557, allocations: 134.8 kB / 0.9646 GB, free: 4.152 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.1558, allocations: 123.1 kB / 0.9647 GB, free: 4.031 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.1558, allocations: 156.6 kB / 0.9649 GB, free: 3.867 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 1.843e-06/0.1558, allocations: 3.984 kB / 0.9649 GB, free: 3.863 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 6.07e-05/0.1559, allocations: 37.61 kB / 0.9649 GB, free: 3.82 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.1559, allocations: 170.6 kB / 0.9651 GB, free: 3.641 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.1561, allocations: 273.4 kB / 0.9654 GB, free: 3.352 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.1561, allocations: 29.69 kB / 0.9654 GB, free: 3.316 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.897e-05/0.1562, allocations: 258.3 kB / 0.9656 GB, free: 3.055 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.1562, allocations: 0 / 0.9656 GB, free: 3.055 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.733e-05/0.1562, allocations: 43.36 kB / 0.9657 GB, free: 3.004 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1564, allocations: 0.4962 MB / 0.9662 GB, free: 2.496 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.842e-05/0.1564, allocations: 23.88 kB / 0.9662 GB, free: 2.473 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.814e-05/0.1565, allocations: 185.7 kB / 0.9664 GB, free: 2.207 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.1566, allocations: 225.5 kB / 0.9666 GB, free: 1.902 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1566, allocations: 0 / 0.9666 GB, free: 1.902 MB / 0.9167 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002234/0.1569, allocations: 177 kB / 0.9667 GB, free: 1.723 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1569, allocations: 11.98 kB / 0.9667 GB, free: 1.711 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.1569, allocations: 4.625 kB / 0.9668 GB, free: 1.707 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.1569, allocations: 12 kB / 0.9668 GB, free: 1.695 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.157, allocations: 39.92 kB / 0.9668 GB, free: 1.656 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.157, allocations: 4 kB / 0.9668 GB, free: 1.652 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.317e-05/0.1571, allocations: 23.84 kB / 0.9668 GB, free: 1.629 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.1571, allocations: 12 kB / 0.9668 GB, free: 1.617 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 9.314e-05/0.1572, allocations: 287.6 kB / 0.9671 GB, free: 1.324 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.241e-05/0.1573, allocations: 172.7 kB / 0.9673 GB, free: 1.148 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.649e-05/0.1573, allocations: 157.4 kB / 0.9674 GB, free: 0.9883 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.468e-05/0.1574, allocations: 268.1 kB / 0.9677 GB, free: 0.7188 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.514e-05/0.1574, allocations: 272 kB / 0.9679 GB, free: 456 kB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.564e-05/0.1575, allocations: 272.1 kB / 0.9682 GB, free: 176 kB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.1577, allocations: 0.5506 MB / 0.9687 GB, free: 15.58 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.012e-05/0.1577, allocations: 144.9 kB / 0.9689 GB, free: 15.43 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.1579, allocations: 148.9 kB / 0.969 GB, free: 15.28 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.454e-05/0.1579, allocations: 272 kB / 0.9693 GB, free: 15 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.655e-05/0.158, allocations: 272.1 kB / 0.9695 GB, free: 14.73 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.255e-05/0.158, allocations: 268 kB / 0.9698 GB, free: 14.46 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-05/0.1581, allocations: 268.1 kB / 0.9701 GB, free: 14.19 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.1582, allocations: 460.1 kB / 0.9705 GB, free: 13.71 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 5.517e-05/0.1583, allocations: 168.7 kB / 0.9707 GB, free: 13.54 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.08e-05/0.1583, allocations: 276 kB / 0.9709 GB, free: 13.27 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.707e-05/0.1584, allocations: 148.9 kB / 0.9711 GB, free: 13.11 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.764e-05/0.1585, allocations: 268 kB / 0.9713 GB, free: 12.84 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/0.1585, allocations: 148.9 kB / 0.9715 GB, free: 12.69 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 9.337e-05/0.1586, allocations: 178.6 kB / 0.9716 GB, free: 12.52 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.1586, allocations: 0 / 0.9716 GB, free: 12.52 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002403/0.1588, allocations: 63.78 kB / 0.9717 GB, free: 12.46 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.0001832/0.159, allocations: 250.3 kB / 0.9719 GB, free: 12.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0001282/0.1591, allocations: 64.42 kB / 0.972 GB, free: 12.14 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1591, allocations: 0 / 0.972 GB, free: 12.14 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.1591, allocations: 4.312 kB / 0.972 GB, free: 12.13 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.1595, allocations: 0.7218 MB / 0.9727 GB, free: 11.41 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000778/0.1603, allocations: 419.1 kB / 0.9731 GB, free: 10.97 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.914e-05/0.1603, allocations: 75.81 kB / 0.9732 GB, free: 10.88 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 8.061e-05/0.1604, allocations: 33.41 kB / 0.9732 GB, free: 10.84 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.1e-05/0.1604, allocations: 12.5 kB / 0.9732 GB, free: 10.83 MB / 0.9323 GB Notification: Performance of SimCode: time 1.724e-06/0.1604, allocations: 0 / 0.9732 GB, free: 10.83 MB / 0.9323 GB Notification: Performance of Templates: time 0.003525/0.164, allocations: 1.318 MB / 0.9745 GB, free: 9.531 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.0336519898846745]