Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.0009878/0.0009878, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009297/0.0009297, allocations: 181 kB / 24.09 MB, free: 420 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.9425/0.9425, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.75/1.75, allocations: 359 MB / 0.6055 GB, free: 10.89 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.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/2.999e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1408/0.1408, allocations: 144.7 MB / 0.9288 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.002752/0.1435, allocations: 1.794 MB / 0.9306 GB, free: 9.238 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003878/0.1439, allocations: 27.75 kB / 0.9306 GB, free: 9.211 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.1442, allocations: 119 kB / 0.9307 GB, free: 9.094 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.1453, allocations: 0.5826 MB / 0.9313 GB, free: 8.508 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.1463, allocations: 0.5183 MB / 0.9318 GB, free: 7.988 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001057/0.1474, allocations: 1.068 MB / 0.9329 GB, free: 6.914 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004475/0.1479, allocations: 341.8 kB / 0.9332 GB, free: 6.578 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001098/0.149, allocations: 0.6681 MB / 0.9338 GB, free: 5.949 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004298/0.1494, allocations: 398.9 kB / 0.9342 GB, free: 5.559 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 4.693e-05/0.1494, allocations: 36 kB / 0.9342 GB, free: 5.523 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004725/0.1499, allocations: 355 kB / 0.9346 GB, free: 5.176 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.15, allocations: 167.5 kB / 0.9347 GB, free: 5.012 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.1501, allocations: 179.6 kB / 0.9349 GB, free: 4.836 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0006212/0.1508, allocations: 0.5645 MB / 0.9355 GB, free: 4.27 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.1508, allocations: 0 / 0.9355 GB, free: 4.27 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1508, allocations: 0 / 0.9355 GB, free: 4.27 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.1508, allocations: 4 kB / 0.9355 GB, free: 4.266 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0006754/0.1515, allocations: 0.8032 MB / 0.9363 GB, free: 3.422 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.1515, allocations: 8.031 kB / 0.9363 GB, free: 3.414 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005328/0.152, allocations: 204.3 kB / 0.9365 GB, free: 3.215 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003732/0.1524, allocations: 346.8 kB / 0.9368 GB, free: 2.852 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.123e-05/0.1524, allocations: 33.12 kB / 0.9368 GB, free: 2.82 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.935e-05/0.1525, allocations: 44 kB / 0.9369 GB, free: 2.777 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003227/0.1528, allocations: 342.9 kB / 0.9372 GB, free: 2.406 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1528, allocations: 0 / 0.9372 GB, free: 2.406 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.1528, allocations: 16 kB / 0.9372 GB, free: 2.391 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/0.1528, allocations: 8 kB / 0.9372 GB, free: 2.383 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.153, allocations: 118.8 kB / 0.9373 GB, free: 2.266 MB / 0.8855 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.001138/0.1541, allocations: 1.618 MB / 0.9389 GB, free: 0.5859 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.1542, allocations: 119 kB / 0.939 GB, free: 468 kB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.286e-05/0.1543, allocations: 55.66 kB / 0.9391 GB, free: 408 kB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001705/0.1545, allocations: 51.89 kB / 0.9391 GB, free: 356 kB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.1545, allocations: 41.38 kB / 0.9392 GB, free: 304 kB / 0.8855 GB Notification: Performance of pre-optimization done (n=24): time 1.462e-06/0.1545, allocations: 4 kB / 0.9392 GB, free: 300 kB / 0.8855 GB Notification: Performance of matching and sorting (n=24): time 0.000352/0.1548, allocations: 225.5 kB / 0.9394 GB, free: 68 kB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.371e-05/0.1549, allocations: 55.41 kB / 0.9394 GB, free: 0 / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.155, allocations: 322.2 kB / 0.9397 GB, free: 15.67 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.1551, allocations: 29.7 kB / 0.9398 GB, free: 15.63 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.1552, allocations: 290.9 kB / 0.94 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.909e-05/0.1553, allocations: 99.17 kB / 0.9401 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.317e-05/0.1553, allocations: 63.28 kB / 0.9402 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1555, allocations: 0.5156 MB / 0.9407 GB, free: 14.65 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.171e-05/0.1555, allocations: 35.97 kB / 0.9407 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.1556, allocations: 206.4 kB / 0.9409 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.1558, allocations: 164 kB / 0.9411 GB, free: 14.17 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1558, allocations: 4 kB / 0.9411 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002058/0.156, allocations: 209.1 kB / 0.9413 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.156, allocations: 4 kB / 0.9413 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.156, allocations: 4 kB / 0.9413 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.198e-06/0.156, allocations: 0 / 0.9413 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.1561, allocations: 55.92 kB / 0.9414 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1561, allocations: 7.984 kB / 0.9414 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.308e-05/0.1562, allocations: 31.72 kB / 0.9414 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.1562, allocations: 8.219 kB / 0.9414 GB, free: 13.84 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (31): * Single equations (assignments): 31 * 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 8.874e-05/0.1563, allocations: 172.5 kB / 0.9416 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.1564, allocations: 39.81 kB / 0.9416 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/0.1566, allocations: 206.7 kB / 0.9418 GB, free: 13.42 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1566, allocations: 4 kB / 0.9418 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-06/0.1566, allocations: 0 / 0.9418 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.1567, allocations: 0 / 0.9418 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005495/0.1572, allocations: 0.632 MB / 0.9424 GB, free: 12.72 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1572, allocations: 0 / 0.9424 GB, free: 12.72 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.1573, allocations: 51.91 kB / 0.9425 GB, free: 12.67 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1573, allocations: 4.047 kB / 0.9425 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.1573, allocations: 11.92 kB / 0.9425 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1573, allocations: 0 / 0.9425 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1573, allocations: 4 kB / 0.9425 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.1576, allocations: 427.7 kB / 0.9429 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 6.004e-05/0.1577, allocations: 51.81 kB / 0.9429 GB, free: 12.13 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.1577, allocations: 12 kB / 0.943 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.393e-05/0.1578, allocations: 11.98 kB / 0.943 GB, free: 12.11 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.1578, allocations: 23.91 kB / 0.943 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.1578, allocations: 8 kB / 0.943 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 8.828e-05/0.1579, allocations: 214.9 kB / 0.9432 GB, free: 11.87 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.1579, allocations: 0 / 0.9432 GB, free: 11.87 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002713/0.1582, allocations: 127.7 kB / 0.9433 GB, free: 11.74 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * 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): 24 * 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.0001762/0.1584, allocations: 139.1 kB / 0.9435 GB, free: 11.6 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001796/0.1586, allocations: 135.3 kB / 0.9436 GB, free: 11.46 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.1586, allocations: 0 / 0.9436 GB, free: 11.46 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 7.285e-05/0.1586, allocations: 81.84 kB / 0.9437 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.159, allocations: 140.2 kB / 0.9438 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009026/0.1599, allocations: 0.7303 MB / 0.9445 GB, free: 10.45 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.414e-05/0.16, allocations: 120.6 kB / 0.9446 GB, free: 10.31 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001244/0.1601, allocations: 46.97 kB / 0.9447 GB, free: 10.26 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/0.1603, allocations: 174.1 kB / 0.9448 GB, free: 10.09 MB / 0.9011 GB Notification: Performance of SimCode: time 6.11e-07/0.1603, allocations: 0 / 0.9448 GB, free: 10.09 MB / 0.9011 GB Notification: Performance of Templates: time 0.007783/0.1681, allocations: 5.866 MB / 0.9506 GB, free: 4.379 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.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.134544888045639]