Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001367/0.001367, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001705/0.001705, allocations: 161 kB / 23.82 MB, free: 0.75 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 1.059/1.059, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.841/1.841, allocations: 359 MB / 0.6052 GB, free: 11.02 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.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_11_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_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.597e-06/3.597e-06, allocations: 4 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.705e-05/3.065e-05, allocations: 3.312 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.158/0.1581, allocations: 149.7 MB / 0.9333 GB, free: 6.246 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.1591, allocations: 0.5686 MB / 0.9339 GB, free: 5.676 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001781/0.1593, allocations: 15.94 kB / 0.9339 GB, free: 5.66 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0004709/0.1598, allocations: 127.1 kB / 0.934 GB, free: 5.535 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0002921/0.1601, allocations: 95.25 kB / 0.9341 GB, free: 5.441 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.1612, allocations: 0.5408 MB / 0.9346 GB, free: 4.898 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0004615/0.1617, allocations: 418.5 kB / 0.935 GB, free: 4.488 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.1619, allocations: 88.27 kB / 0.9351 GB, free: 4.402 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003473/0.1623, allocations: 243.2 kB / 0.9353 GB, free: 4.164 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.1625, allocations: 131.6 kB / 0.9355 GB, free: 4.035 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.1625, allocations: 16 kB / 0.9355 GB, free: 4.02 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006583/0.1631, allocations: 386.7 kB / 0.9359 GB, free: 3.641 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.1633, allocations: 67.81 kB / 0.9359 GB, free: 3.574 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 9.003e-05/0.1633, allocations: 75.81 kB / 0.936 GB, free: 3.5 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0005865/0.1639, allocations: 386.7 kB / 0.9364 GB, free: 3.121 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1639, allocations: 0 / 0.9364 GB, free: 3.121 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1639, allocations: 0 / 0.9364 GB, free: 3.121 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.1639, allocations: 0 / 0.9364 GB, free: 3.121 MB / 0.8855 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.0006107/0.1646, allocations: 0.5506 MB / 0.9369 GB, free: 2.535 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.1646, allocations: 8.031 kB / 0.9369 GB, free: 2.527 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002758/0.1649, allocations: 72.72 kB / 0.937 GB, free: 2.457 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.1652, allocations: 216.2 kB / 0.9372 GB, free: 2.219 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/0.1653, allocations: 242 kB / 0.9374 GB, free: 1.934 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.1653, allocations: 24 kB / 0.9374 GB, free: 1.91 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004202/0.1658, allocations: 289.8 kB / 0.9377 GB, free: 1.574 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1658, allocations: 0 / 0.9377 GB, free: 1.574 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.1658, allocations: 12 kB / 0.9377 GB, free: 1.562 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.1658, allocations: 4 kB / 0.9377 GB, free: 1.559 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.1659, allocations: 96.66 kB / 0.9378 GB, free: 1.465 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.1671, allocations: 2.02 MB / 0.9398 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.844e-05/0.1672, allocations: 265.4 kB / 0.94 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.716e-05/0.1672, allocations: 130.8 kB / 0.9402 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.1673, allocations: 119.2 kB / 0.9403 GB, free: 14.83 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.996e-05/0.1673, allocations: 160.6 kB / 0.9404 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 1.552e-06/0.1673, allocations: 0 / 0.9404 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 7.963e-05/0.1674, allocations: 41.55 kB / 0.9405 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.1674, allocations: 174.6 kB / 0.9406 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.1676, allocations: 263.2 kB / 0.9409 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.1677, allocations: 25.7 kB / 0.9409 GB, free: 14.13 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.1678, allocations: 266.3 kB / 0.9412 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 5.771e-06/0.1678, allocations: 7.922 kB / 0.9412 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.852e-05/0.1678, allocations: 43.36 kB / 0.9412 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.168, allocations: 0.4962 MB / 0.9417 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.219e-05/0.168, allocations: 15.95 kB / 0.9417 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.1681, allocations: 193.7 kB / 0.9419 GB, free: 13.01 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.1683, allocations: 225.5 kB / 0.9421 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.1683, allocations: 0 / 0.9421 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002718/0.1686, allocations: 173.1 kB / 0.9423 GB, free: 12.53 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.1686, allocations: 8 kB / 0.9423 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.1686, allocations: 4 kB / 0.9423 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.1686, allocations: 12 kB / 0.9423 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.1687, allocations: 40.55 kB / 0.9424 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.1687, allocations: 15.92 kB / 0.9424 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.834e-05/0.1688, allocations: 23.84 kB / 0.9424 GB, free: 12.43 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.1689, allocations: 12 kB / 0.9424 GB, free: 12.41 MB / 0.9011 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.0001103/0.169, allocations: 287.6 kB / 0.9427 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-05/0.169, allocations: 164.7 kB / 0.9428 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.259e-05/0.1691, allocations: 165.3 kB / 0.943 GB, free: 11.78 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-05/0.1691, allocations: 264.1 kB / 0.9432 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.859e-05/0.1692, allocations: 268.1 kB / 0.9435 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.247e-05/0.1693, allocations: 268 kB / 0.9438 GB, free: 10.98 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.1695, allocations: 0.5467 MB / 0.9443 GB, free: 10.39 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.539e-05/0.1695, allocations: 156.8 kB / 0.9444 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.1697, allocations: 145 kB / 0.9446 GB, free: 10.08 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.995e-05/0.1697, allocations: 272.1 kB / 0.9448 GB, free: 9.805 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.113e-05/0.1698, allocations: 276 kB / 0.9451 GB, free: 9.527 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.321e-05/0.1698, allocations: 264.1 kB / 0.9453 GB, free: 9.262 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.846e-05/0.1699, allocations: 276 kB / 0.9456 GB, free: 8.984 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.17, allocations: 448 kB / 0.946 GB, free: 8.52 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 6.096e-05/0.1701, allocations: 172.7 kB / 0.9462 GB, free: 8.344 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.166e-05/0.1702, allocations: 268.1 kB / 0.9465 GB, free: 8.074 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.081e-05/0.1702, allocations: 148.8 kB / 0.9466 GB, free: 7.922 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-05/0.1703, allocations: 268.1 kB / 0.9469 GB, free: 7.652 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-05/0.1703, allocations: 160.9 kB / 0.947 GB, free: 7.488 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001109/0.1705, allocations: 176.1 kB / 0.9472 GB, free: 7.316 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.1705, allocations: 3.938 kB / 0.9472 GB, free: 7.312 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002818/0.1707, allocations: 67.72 kB / 0.9472 GB, free: 7.246 MB / 0.9011 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.0002361/0.171, allocations: 242.4 kB / 0.9475 GB, free: 6.996 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001463/0.1711, allocations: 69.19 kB / 0.9475 GB, free: 6.926 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1711, allocations: 1.25 kB / 0.9475 GB, free: 6.926 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 9.12e-07/0.1711, allocations: 0 / 0.9475 GB, free: 6.926 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.1715, allocations: 0.72 MB / 0.9482 GB, free: 6.203 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006489/0.1721, allocations: 435 kB / 0.9487 GB, free: 5.75 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.745e-05/0.1721, allocations: 75.81 kB / 0.9487 GB, free: 5.656 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 7.541e-05/0.1722, allocations: 29.42 kB / 0.9488 GB, free: 5.629 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.197e-05/0.1723, allocations: 16.48 kB / 0.9488 GB, free: 5.613 MB / 0.9011 GB Notification: Performance of SimCode: time 9.62e-07/0.1723, allocations: 0 / 0.9488 GB, free: 5.613 MB / 0.9011 GB Notification: Performance of Templates: time 0.003534/0.1758, allocations: 1.169 MB / 0.9499 GB, free: 4.457 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.485255921725184]