Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001254/0.001254, allocations: 73.88 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.001446/0.001446, allocations: 173 kB / 24.06 MB, free: 452 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 0.9665/0.9665, allocations: 177.1 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.108/2.108, allocations: 429.5 MB / 0.6743 GB, free: 3.922 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.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_latest_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_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.8794 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.267e-05/1.388e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1267/0.1267, allocations: 147 MB / 1.023 GB, free: 2.496 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.0007611/0.1275, allocations: 0.5647 MB / 1.023 GB, free: 1.93 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.1277, allocations: 7.938 kB / 1.024 GB, free: 1.922 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0003853/0.128, allocations: 131.1 kB / 1.024 GB, free: 1.793 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.000224/0.1283, allocations: 103.2 kB / 1.024 GB, free: 1.691 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009321/0.1292, allocations: 0.5407 MB / 1.024 GB, free: 1.148 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.000357/0.1296, allocations: 422.5 kB / 1.025 GB, free: 0.7344 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.1297, allocations: 88.27 kB / 1.025 GB, free: 0.6406 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002575/0.13, allocations: 239.2 kB / 1.025 GB, free: 416 kB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.1301, allocations: 131.6 kB / 1.025 GB, free: 284 kB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.1302, allocations: 20 kB / 1.025 GB, free: 264 kB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004844/0.1307, allocations: 386.7 kB / 1.025 GB, free: 15.88 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 7.65e-05/0.1307, allocations: 75.78 kB / 1.026 GB, free: 15.8 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 5.865e-05/0.1308, allocations: 67.78 kB / 1.026 GB, free: 15.74 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004238/0.1312, allocations: 386.7 kB / 1.026 GB, free: 15.36 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1312, allocations: 0 / 1.026 GB, free: 15.36 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1312, allocations: 3.938 kB / 1.026 GB, free: 15.36 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.1312, allocations: 0 / 1.026 GB, free: 15.36 MB / 0.9948 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.0004053/0.1316, allocations: 0.5425 MB / 1.027 GB, free: 14.78 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.1317, allocations: 12.03 kB / 1.027 GB, free: 14.77 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002081/0.1319, allocations: 72.72 kB / 1.027 GB, free: 14.7 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.1321, allocations: 208.2 kB / 1.027 GB, free: 14.46 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.1322, allocations: 246 kB / 1.027 GB, free: 14.18 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.1322, allocations: 19.94 kB / 1.027 GB, free: 14.16 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002459/0.1325, allocations: 277.8 kB / 1.027 GB, free: 13.83 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.1325, allocations: 4 kB / 1.027 GB, free: 13.83 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.1325, allocations: 12 kB / 1.027 GB, free: 13.82 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.1325, allocations: 4 kB / 1.027 GB, free: 13.81 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.652e-05/0.1326, allocations: 77.78 kB / 1.027 GB, free: 13.74 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009868/0.1336, allocations: 1.978 MB / 1.029 GB, free: 11.68 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.598e-05/0.1337, allocations: 269.4 kB / 1.03 GB, free: 11.4 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.157e-05/0.1337, allocations: 130.9 kB / 1.03 GB, free: 11.27 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.1337, allocations: 119.2 kB / 1.03 GB, free: 11.15 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.76e-05/0.1338, allocations: 160.5 kB / 1.03 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.1338, allocations: 0 / 1.03 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of matching and sorting (n=0): time 5.84e-05/0.1338, allocations: 41.55 kB / 1.03 GB, free: 10.94 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.1339, allocations: 174.5 kB / 1.03 GB, free: 10.75 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.134, allocations: 271.5 kB / 1.03 GB, free: 10.47 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.1341, allocations: 25.7 kB / 1.03 GB, free: 10.44 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.1342, allocations: 258.3 kB / 1.031 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.115e-06/0.1342, allocations: 8 kB / 1.031 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.026e-05/0.1342, allocations: 47.31 kB / 1.031 GB, free: 10.12 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1343, allocations: 0.4962 MB / 1.031 GB, free: 9.613 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.379e-05/0.1344, allocations: 8 kB / 1.031 GB, free: 9.605 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.1345, allocations: 193.6 kB / 1.031 GB, free: 9.332 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.1346, allocations: 225.5 kB / 1.032 GB, free: 9.027 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1346, allocations: 0 / 1.032 GB, free: 9.027 MB / 0.9948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001996/0.1348, allocations: 169.2 kB / 1.032 GB, free: 8.855 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.1348, allocations: 8 kB / 1.032 GB, free: 8.848 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.1348, allocations: 4 kB / 1.032 GB, free: 8.844 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.1348, allocations: 8 kB / 1.032 GB, free: 8.836 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.661e-05/0.1349, allocations: 39.92 kB / 1.032 GB, free: 8.797 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.1349, allocations: 15.92 kB / 1.032 GB, free: 8.781 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.053e-05/0.135, allocations: 24.28 kB / 1.032 GB, free: 8.758 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.135, allocations: 16 kB / 1.032 GB, free: 8.742 MB / 0.9948 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.0001015/0.1351, allocations: 291.6 kB / 1.032 GB, free: 8.445 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.407e-05/0.1352, allocations: 160.8 kB / 1.032 GB, free: 8.281 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.863e-05/0.1352, allocations: 165.3 kB / 1.033 GB, free: 8.113 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.017e-05/0.1353, allocations: 264.1 kB / 1.033 GB, free: 7.848 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.448e-05/0.1353, allocations: 268.1 kB / 1.033 GB, free: 7.578 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.11e-05/0.1354, allocations: 268 kB / 1.033 GB, free: 7.309 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.1356, allocations: 0.5121 MB / 1.034 GB, free: 6.762 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.795e-05/0.1357, allocations: 152.9 kB / 1.034 GB, free: 6.605 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.568e-05/0.1357, allocations: 144.9 kB / 1.034 GB, free: 6.457 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.735e-05/0.1358, allocations: 268.1 kB / 1.034 GB, free: 6.188 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.519e-05/0.1358, allocations: 272.2 kB / 1.035 GB, free: 5.914 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.694e-05/0.1359, allocations: 276 kB / 1.035 GB, free: 5.637 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-05/0.136, allocations: 268 kB / 1.035 GB, free: 5.367 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.1361, allocations: 459.9 kB / 1.036 GB, free: 4.891 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.065e-05/0.1362, allocations: 168.8 kB / 1.036 GB, free: 4.719 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.872e-05/0.1362, allocations: 268.1 kB / 1.036 GB, free: 4.449 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.025e-05/0.1363, allocations: 156.8 kB / 1.036 GB, free: 4.289 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.277e-05/0.1364, allocations: 272 kB / 1.036 GB, free: 4.016 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.1364, allocations: 148.8 kB / 1.037 GB, free: 3.863 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 7.843e-05/0.1365, allocations: 179.1 kB / 1.037 GB, free: 3.688 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.1365, allocations: 0 / 1.037 GB, free: 3.688 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002511/0.1368, allocations: 55.83 kB / 1.037 GB, free: 3.633 MB / 0.9948 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.0001836/0.1369, allocations: 247.7 kB / 1.037 GB, free: 3.383 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001089/0.1371, allocations: 63.45 kB / 1.037 GB, free: 3.316 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.1371, allocations: 0 / 1.037 GB, free: 3.316 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.1371, allocations: 1.25 kB / 1.037 GB, free: 3.316 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.1374, allocations: 0.716 MB / 1.038 GB, free: 2.598 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005045/0.1379, allocations: 427.1 kB / 1.038 GB, free: 2.152 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.653e-05/0.1379, allocations: 87.67 kB / 1.038 GB, free: 2.047 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 5.724e-05/0.138, allocations: 21.42 kB / 1.038 GB, free: 2.027 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.605e-05/0.138, allocations: 78.2 kB / 1.038 GB, free: 1.949 MB / 0.9948 GB Notification: Performance of SimCode: time 7.21e-07/0.138, allocations: 0 / 1.038 GB, free: 1.949 MB / 0.9948 GB Notification: Performance of Templates: time 0.002968/0.141, allocations: 1.348 MB / 1.04 GB, free: 0.6133 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.501209229696542]