Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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.0009584/0.0009584, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.00101/0.00101, allocations: 161 kB / 24.17 MB, free: 332 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.9672/0.9672, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.858/1.858, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.AirToOutletFlowReversal,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,]+.|conAirNoC.TAirZon|conAirWithC.TAirZon|conDryAirNoC.TAirZon|conDryAirWithC.TAirZon|conAirNoC.X_wZon|conAirWithC.X_wZon|conAirWithC.CZon.[0-9,]+.|conDryAirWithC.CZon.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,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,]+.|conAirNoC.TAirZon|conAirWithC.TAirZon|conDryAirNoC.TAirZon|conDryAirWithC.TAirZon|conAirNoC.X_wZon|conAirWithC.X_wZon|conAirWithC.CZon.[0-9,]+.|conDryAirWithC.CZon.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.533e-05/1.673e-05, allocations: 2.875 kB / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.1421/0.1421, allocations: 160.9 MB / 0.9171 GB, free: 5.352 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.009025/0.1511, allocations: 5.532 MB / 0.9225 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001791/0.1529, allocations: 79.31 kB / 0.9226 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.00148/0.1544, allocations: 0.5701 MB / 0.9232 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002908/0.1573, allocations: 1.251 MB / 0.9244 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.003163/0.1605, allocations: 1.675 MB / 0.926 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.00306/0.1635, allocations: 2.713 MB / 0.9287 GB, free: 9.492 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001348/0.1649, allocations: 1.003 MB / 0.9296 GB, free: 8.434 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002587/0.1675, allocations: 1.457 MB / 0.9311 GB, free: 6.973 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.1686, allocations: 0.7673 MB / 0.9318 GB, free: 6.203 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001815/0.1688, allocations: 111.9 kB / 0.9319 GB, free: 6.094 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001702/0.1705, allocations: 0.9971 MB / 0.9329 GB, free: 5.094 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0003441/0.1708, allocations: 410.7 kB / 0.9333 GB, free: 4.691 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0004933/0.1713, allocations: 439 kB / 0.9337 GB, free: 4.262 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.002132/0.1734, allocations: 1.483 MB / 0.9352 GB, free: 2.773 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.1735, allocations: 11.92 kB / 0.9352 GB, free: 2.762 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.013e-06/0.1735, allocations: 0 / 0.9352 GB, free: 2.762 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.741e-05/0.1735, allocations: 0 / 0.9352 GB, free: 2.762 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001602/0.1751, allocations: 1.385 MB / 0.9365 GB, free: 1.348 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.1751, allocations: 12.03 kB / 0.9365 GB, free: 1.336 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006749/0.1758, allocations: 295.3 kB / 0.9368 GB, free: 1.047 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009465/0.1767, allocations: 0.7233 MB / 0.9375 GB, free: 300 kB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001769/0.1769, allocations: 291.6 kB / 0.9378 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.992e-05/0.177, allocations: 88 kB / 0.9379 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006473/0.1776, allocations: 0.6426 MB / 0.9385 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.1777, allocations: 8 kB / 0.9385 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.248e-05/0.1777, allocations: 36 kB / 0.9386 GB, free: 15.15 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.1777, allocations: 20 kB / 0.9386 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00031/0.178, allocations: 230.2 kB / 0.9388 GB, free: 14.9 MB / 0.9011 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.002183/0.1802, allocations: 2.173 MB / 0.9409 GB, free: 12.67 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.1804, allocations: 120.1 kB / 0.941 GB, free: 12.54 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.554e-05/0.1804, allocations: 47.61 kB / 0.9411 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002274/0.1807, allocations: 95.92 kB / 0.9412 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.1807, allocations: 38.55 kB / 0.9412 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=24): time 2.474e-06/0.1807, allocations: 4 kB / 0.9412 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of matching and sorting (n=24): time 0.0004099/0.1811, allocations: 192.2 kB / 0.9414 GB, free: 12.15 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.1811, allocations: 55.41 kB / 0.9414 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004076/0.1815, allocations: 0.6012 MB / 0.942 GB, free: 11.47 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.1816, allocations: 29.7 kB / 0.9421 GB, free: 11.44 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002004/0.1818, allocations: 473.3 kB / 0.9425 GB, free: 10.97 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/0.1818, allocations: 91.23 kB / 0.9426 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.1819, allocations: 98.06 kB / 0.9427 GB, free: 10.78 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.29e-05/0.182, allocations: 321.9 kB / 0.943 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.829e-05/0.1821, allocations: 43.8 kB / 0.943 GB, free: 10.41 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002879/0.1824, allocations: 0.6199 MB / 0.9436 GB, free: 9.602 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/0.1826, allocations: 317.7 kB / 0.9439 GB, free: 9.199 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.1826, allocations: 4 kB / 0.9439 GB, free: 9.195 MB / 0.9011 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000319/0.1829, allocations: 292.4 kB / 0.9442 GB, free: 8.898 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.1829, allocations: 8 kB / 0.9442 GB, free: 8.891 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.183, allocations: 8 kB / 0.9442 GB, free: 8.883 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.183, allocations: 8.734 kB / 0.9443 GB, free: 8.875 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.1832, allocations: 91.81 kB / 0.9443 GB, free: 8.785 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.1832, allocations: 15.94 kB / 0.9444 GB, free: 8.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.1834, allocations: 47.67 kB / 0.9444 GB, free: 8.723 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.642e-05/0.1835, allocations: 23.98 kB / 0.9444 GB, free: 8.699 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 48 * 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.0001628/0.1836, allocations: 144.5 kB / 0.9446 GB, free: 8.547 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.661e-05/0.1837, allocations: 51.94 kB / 0.9446 GB, free: 8.496 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002943/0.184, allocations: 232.2 kB / 0.9448 GB, free: 8.258 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.184, allocations: 8 kB / 0.9448 GB, free: 8.25 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.184, allocations: 0 / 0.9448 GB, free: 8.25 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.184, allocations: 7.938 kB / 0.9448 GB, free: 8.242 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000919/0.1849, allocations: 0.9217 MB / 0.9457 GB, free: 7.219 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.1849, allocations: 4 kB / 0.9458 GB, free: 7.215 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.344e-05/0.185, allocations: 39.92 kB / 0.9458 GB, free: 7.176 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.185, allocations: 4 kB / 0.9458 GB, free: 7.172 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.185, allocations: 12 kB / 0.9458 GB, free: 7.16 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.185, allocations: 11.92 kB / 0.9458 GB, free: 7.148 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.185, allocations: 8 kB / 0.9458 GB, free: 7.141 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.1853, allocations: 456.6 kB / 0.9463 GB, free: 6.602 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.1854, allocations: 99.36 kB / 0.9464 GB, free: 6.504 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.37e-05/0.1854, allocations: 12 kB / 0.9464 GB, free: 6.492 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.1856, allocations: 8 kB / 0.9464 GB, free: 6.484 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.1856, allocations: 31.84 kB / 0.9464 GB, free: 6.453 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.1856, allocations: 11.94 kB / 0.9464 GB, free: 6.441 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002067/0.1858, allocations: 292.5 kB / 0.9467 GB, free: 6.156 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.1858, allocations: 0 / 0.9467 GB, free: 6.156 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006138/0.1865, allocations: 318.9 kB / 0.947 GB, free: 5.844 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003033/0.1868, allocations: 227.9 kB / 0.9472 GB, free: 5.609 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002365/0.187, allocations: 178.6 kB / 0.9474 GB, free: 5.434 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/0.187, allocations: 8 kB / 0.9474 GB, free: 5.426 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 7.829e-05/0.1871, allocations: 77.66 kB / 0.9475 GB, free: 5.348 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006854/0.1878, allocations: 287 kB / 0.9477 GB, free: 5.078 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.1894, allocations: 1.485 MB / 0.9492 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.1896, allocations: 209.8 kB / 0.9494 GB, free: 3.266 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002734/0.1898, allocations: 111.6 kB / 0.9495 GB, free: 3.164 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003651/0.1902, allocations: 243.1 kB / 0.9497 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of SimCode: time 8.62e-07/0.1902, allocations: 0 / 0.9497 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of Templates: time 0.01653/0.2067, allocations: 12.27 MB / 0.9617 GB, free: 6.984 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.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.401605688035488]