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.0009558/0.0009558, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001076/0.001076, allocations: 166 kB / 24.87 MB, free: 9.285 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.9827/0.9827, allocations: 177.1 MB / 205.3 MB, free: 5.078 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.855/1.855, allocations: 359 MB / 0.6063 GB, free: 10.91 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 1.563e-06/1.563e-06, allocations: 0 / 0.7883 GB, free: 12.25 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.254e-05/1.411e-05, allocations: 3.312 kB / 0.7883 GB, free: 12.24 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1295/0.1295, allocations: 147 MB / 0.9318 GB, free: 8.766 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.0007751/0.1303, allocations: 0.5686 MB / 0.9324 GB, free: 8.195 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.1304, allocations: 7.938 kB / 0.9324 GB, free: 8.188 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0003752/0.1308, allocations: 139 kB / 0.9325 GB, free: 8.051 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.000236/0.131, allocations: 91.31 kB / 0.9326 GB, free: 7.961 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009239/0.132, allocations: 0.5407 MB / 0.9332 GB, free: 7.418 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0003903/0.1324, allocations: 418.5 kB / 0.9336 GB, free: 7.008 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.1325, allocations: 84.84 kB / 0.9336 GB, free: 6.926 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002638/0.1328, allocations: 239.3 kB / 0.9339 GB, free: 6.691 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.133, allocations: 139.6 kB / 0.934 GB, free: 6.555 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.133, allocations: 16 kB / 0.934 GB, free: 6.539 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004933/0.1335, allocations: 382.7 kB / 0.9344 GB, free: 6.164 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 7.997e-05/0.1335, allocations: 71.73 kB / 0.9344 GB, free: 6.094 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 6.176e-05/0.1336, allocations: 71.84 kB / 0.9345 GB, free: 6.023 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0004177/0.134, allocations: 386.6 kB / 0.9349 GB, free: 5.645 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.134, allocations: 0 / 0.9349 GB, free: 5.645 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.212e-06/0.134, allocations: 0 / 0.9349 GB, free: 5.645 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.134, allocations: 0 / 0.9349 GB, free: 5.645 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.0004132/0.1345, allocations: 0.5584 MB / 0.9354 GB, free: 5.051 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.1345, allocations: 12.03 kB / 0.9354 GB, free: 5.039 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002066/0.1347, allocations: 68.72 kB / 0.9355 GB, free: 4.973 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.1349, allocations: 206.6 kB / 0.9357 GB, free: 4.746 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.135, allocations: 246 kB / 0.9359 GB, free: 4.457 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.135, allocations: 20 kB / 0.936 GB, free: 4.438 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.1353, allocations: 273.8 kB / 0.9362 GB, free: 4.117 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1353, allocations: 7.875 kB / 0.9362 GB, free: 4.109 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.1353, allocations: 12 kB / 0.9362 GB, free: 4.098 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1353, allocations: 4 kB / 0.9362 GB, free: 4.094 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.191e-05/0.1354, allocations: 80.66 kB / 0.9363 GB, free: 4.016 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.1365, allocations: 1.978 MB / 0.9382 GB, free: 1.957 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.488e-05/0.1365, allocations: 269.4 kB / 0.9385 GB, free: 1.68 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.303e-05/0.1366, allocations: 130.9 kB / 0.9386 GB, free: 1.547 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.1366, allocations: 123.2 kB / 0.9387 GB, free: 1.426 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.1366, allocations: 160.5 kB / 0.9389 GB, free: 1.258 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.1366, allocations: 0 / 0.9389 GB, free: 1.258 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 5.773e-05/0.1367, allocations: 41.55 kB / 0.9389 GB, free: 1.211 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.1368, allocations: 174.6 kB / 0.9391 GB, free: 1.027 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.1369, allocations: 263.2 kB / 0.9394 GB, free: 0.7539 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.833e-06/0.1369, allocations: 25.7 kB / 0.9394 GB, free: 0.7227 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.137, allocations: 266.3 kB / 0.9396 GB, free: 468 kB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.776e-06/0.137, allocations: 0 / 0.9396 GB, free: 468 kB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.216e-05/0.1371, allocations: 47.34 kB / 0.9397 GB, free: 412 kB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1372, allocations: 0.4923 MB / 0.9402 GB, free: 15.9 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.679e-05/0.1372, allocations: 15.94 kB / 0.9402 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.1373, allocations: 189.7 kB / 0.9404 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.1375, allocations: 229.4 kB / 0.9406 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1375, allocations: 0 / 0.9406 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002107/0.1377, allocations: 169.1 kB / 0.9407 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.1377, allocations: 4 kB / 0.9407 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.1377, allocations: 4.625 kB / 0.9407 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.1377, allocations: 12 kB / 0.9408 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.306e-05/0.1378, allocations: 35.92 kB / 0.9408 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.1378, allocations: 15.92 kB / 0.9408 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.672e-05/0.1379, allocations: 23.84 kB / 0.9408 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.1379, allocations: 8 kB / 0.9408 GB, free: 15.03 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.000111/0.138, allocations: 287.6 kB / 0.9411 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.88e-05/0.1381, allocations: 164.7 kB / 0.9413 GB, free: 14.57 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.723e-05/0.1381, allocations: 161.4 kB / 0.9414 GB, free: 14.4 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.993e-05/0.1382, allocations: 268 kB / 0.9417 GB, free: 14.13 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.398e-05/0.1383, allocations: 272 kB / 0.9419 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-05/0.1383, allocations: 272 kB / 0.9422 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.1385, allocations: 0.5161 MB / 0.9427 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.414e-05/0.1386, allocations: 144.9 kB / 0.9428 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.1386, allocations: 149 kB / 0.943 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-05/0.1386, allocations: 272.1 kB / 0.9432 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.823e-05/0.1387, allocations: 272 kB / 0.9435 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.229e-05/0.1388, allocations: 276 kB / 0.9438 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.894e-05/0.1388, allocations: 268.1 kB / 0.944 GB, free: 11.64 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.139, allocations: 447.9 kB / 0.9444 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 5.898e-05/0.139, allocations: 168.7 kB / 0.9446 GB, free: 11 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.213e-05/0.1391, allocations: 268.1 kB / 0.9449 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.322e-05/0.1392, allocations: 152.8 kB / 0.945 GB, free: 10.58 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002182/0.1394, allocations: 272 kB / 0.9453 GB, free: 10.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/0.1394, allocations: 152.9 kB / 0.9454 GB, free: 10.15 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 8.21e-05/0.1395, allocations: 172.1 kB / 0.9456 GB, free: 9.98 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.1395, allocations: 0 / 0.9456 GB, free: 9.98 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002578/0.1398, allocations: 63.78 kB / 0.9456 GB, free: 9.918 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.0001835/0.1399, allocations: 242.4 kB / 0.9459 GB, free: 9.668 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001281/0.1401, allocations: 68.33 kB / 0.9459 GB, free: 9.598 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1401, allocations: 4.312 kB / 0.9459 GB, free: 9.594 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.1401, allocations: 4 kB / 0.9459 GB, free: 9.59 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.1404, allocations: 0.7119 MB / 0.9466 GB, free: 8.875 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000628/0.141, allocations: 435 kB / 0.947 GB, free: 8.422 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.986e-05/0.1411, allocations: 75.81 kB / 0.9471 GB, free: 8.328 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 6.565e-05/0.1412, allocations: 21.48 kB / 0.9471 GB, free: 8.309 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.288e-05/0.1412, allocations: 78.2 kB / 0.9472 GB, free: 8.23 MB / 0.9011 GB Notification: Performance of SimCode: time 1.082e-06/0.1412, allocations: 0 / 0.9472 GB, free: 8.23 MB / 0.9011 GB Notification: Performance of Templates: time 0.003626/0.1448, allocations: 1.35 MB / 0.9485 GB, free: 6.895 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.158167394809425]