Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 110 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 184.5 kB / 22.22 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.918/2.918, allocations: 0.4893 GB / 0.7884 GB, free: 33.13 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 65.55 kB / 1.145 GB, free: 30.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3232, allocations: 174.9 MB / 1.316 GB, free: 9.688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1884/0.5116, allocations: 168.3 MB / 1.48 GB, free: 0.7539 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007979/0.5196, allocations: 6.639 MB / 1.487 GB, free: 10.09 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000389/0.52, allocations: 19.81 kB / 1.487 GB, free: 10.07 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0005302/0.5205, allocations: 166.7 kB / 1.487 GB, free: 9.91 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002165/0.5226, allocations: 0.8791 MB / 1.488 GB, free: 9.027 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009354/0.5236, allocations: 351.9 kB / 1.488 GB, free: 8.688 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0008329/0.5244, allocations: 0.7251 MB / 1.489 GB, free: 7.961 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003947/0.5248, allocations: 231.2 kB / 1.489 GB, free: 7.73 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001707/0.5265, allocations: 0.7357 MB / 1.49 GB, free: 6.992 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004171/0.5269, allocations: 267 kB / 1.49 GB, free: 6.73 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.54e-05/0.527, allocations: 28 kB / 1.49 GB, free: 6.703 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006606/0.5276, allocations: 363.1 kB / 1.491 GB, free: 6.348 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.5278, allocations: 107.7 kB / 1.491 GB, free: 6.242 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001841/0.528, allocations: 167.1 kB / 1.491 GB, free: 6.078 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0007266/0.5287, allocations: 470.2 kB / 1.491 GB, free: 5.617 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.5287, allocations: 0 / 1.491 GB, free: 5.617 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5287, allocations: 0 / 1.491 GB, free: 5.617 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.393e-05/0.5287, allocations: 0 / 1.491 GB, free: 5.617 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009198/0.5296, allocations: 0.5632 MB / 1.492 GB, free: 5.023 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.5297, allocations: 8.031 kB / 1.492 GB, free: 5.016 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003144/0.53, allocations: 59.73 kB / 1.492 GB, free: 4.957 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005154/0.5305, allocations: 255.6 kB / 1.492 GB, free: 4.68 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.5305, allocations: 20.66 kB / 1.492 GB, free: 4.66 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.261e-05/0.5306, allocations: 24 kB / 1.492 GB, free: 4.637 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005567/0.5311, allocations: 312.9 kB / 1.492 GB, free: 4.305 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.5311, allocations: 11.98 kB / 1.492 GB, free: 4.293 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.5312, allocations: 11.94 kB / 1.492 GB, free: 4.281 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.5312, allocations: 8 kB / 1.492 GB, free: 4.273 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004527/0.5316, allocations: 201.6 kB / 1.493 GB, free: 4.078 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/0.5332, allocations: 1.5 MB / 1.494 GB, free: 2.445 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.5335, allocations: 118.4 kB / 1.494 GB, free: 2.32 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.5337, allocations: 84.8 kB / 1.494 GB, free: 2.234 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000485/0.5342, allocations: 80.16 kB / 1.494 GB, free: 2.156 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.5342, allocations: 34.56 kB / 1.494 GB, free: 2.113 MB / 1.186 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.5342, allocations: 0 / 1.494 GB, free: 2.113 MB / 1.186 GB Notification: Performance of matching and sorting (n=13): time 0.0007482/0.5349, allocations: 273.3 kB / 1.495 GB, free: 1.84 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.535, allocations: 55.41 kB / 1.495 GB, free: 1.773 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000307/0.5353, allocations: 308.6 kB / 1.495 GB, free: 1.469 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.5353, allocations: 25.7 kB / 1.495 GB, free: 1.438 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.5355, allocations: 184.2 kB / 1.495 GB, free: 1.254 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.956e-05/0.5355, allocations: 59.47 kB / 1.495 GB, free: 1.195 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.383e-05/0.5356, allocations: 29.72 kB / 1.495 GB, free: 1.16 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.5357, allocations: 338.8 kB / 1.496 GB, free: 0.8203 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.5359, allocations: 55.95 kB / 1.496 GB, free: 0.7656 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.5361, allocations: 117 kB / 1.496 GB, free: 0.6328 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.5364, allocations: 180.9 kB / 1.496 GB, free: 448 kB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.5364, allocations: 3.938 kB / 1.496 GB, free: 444 kB / 1.186 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004223/0.5369, allocations: 217.2 kB / 1.496 GB, free: 220 kB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.5369, allocations: 13.66 kB / 1.496 GB, free: 208 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.5369, allocations: 4 kB / 1.496 GB, free: 204 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.5369, allocations: 4 kB / 1.496 GB, free: 200 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.5371, allocations: 31.97 kB / 1.496 GB, free: 168 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.5371, allocations: 11.92 kB / 1.496 GB, free: 156 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.5373, allocations: 23.88 kB / 1.496 GB, free: 132 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.5373, allocations: 8 kB / 1.496 GB, free: 124 kB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001621/0.5375, allocations: 146.4 kB / 1.496 GB, free: 15.97 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.427e-05/0.5375, allocations: 35.81 kB / 1.496 GB, free: 15.93 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004647/0.538, allocations: 219.6 kB / 1.497 GB, free: 15.71 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.538, allocations: 4 kB / 1.497 GB, free: 15.71 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.538, allocations: 0 / 1.497 GB, free: 15.71 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.538, allocations: 0 / 1.497 GB, free: 15.71 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.539, allocations: 0.6514 MB / 1.497 GB, free: 14.98 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.539, allocations: 64 / 1.497 GB, free: 14.98 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.5392, allocations: 39.92 kB / 1.497 GB, free: 14.95 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.5392, allocations: 224 / 1.497 GB, free: 14.95 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.5392, allocations: 8 kB / 1.497 GB, free: 14.94 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.5392, allocations: 7.938 kB / 1.497 GB, free: 14.93 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5392, allocations: 0 / 1.497 GB, free: 14.93 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004554/0.5397, allocations: 337.2 kB / 1.498 GB, free: 14.56 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 9.115e-05/0.5397, allocations: 43.73 kB / 1.498 GB, free: 14.52 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/0.5398, allocations: 4 kB / 1.498 GB, free: 14.52 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.5399, allocations: 19.86 kB / 1.498 GB, free: 14.5 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.54, allocations: 15.98 kB / 1.498 GB, free: 14.48 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.54, allocations: 4 kB / 1.498 GB, free: 14.48 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002264/0.5402, allocations: 227 kB / 1.498 GB, free: 14.25 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.5402, allocations: 3.938 kB / 1.498 GB, free: 14.25 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003589/0.5406, allocations: 71.89 kB / 1.498 GB, free: 14.18 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0003411/0.5409, allocations: 147.5 kB / 1.498 GB, free: 14.03 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0004059/0.5413, allocations: 159.7 kB / 1.498 GB, free: 13.87 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5413, allocations: 4.312 kB / 1.498 GB, free: 13.87 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000182/0.5415, allocations: 83.83 kB / 1.498 GB, free: 13.79 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007935/0.5423, allocations: 149.5 kB / 1.499 GB, free: 13.64 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008582/0.5432, allocations: 0.533 MB / 1.499 GB, free: 13.07 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.5436, allocations: 0.7795 MB / 1.5 GB, free: 12.26 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.000172/0.5437, allocations: 74.91 kB / 1.5 GB, free: 12.18 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.797e-05/0.5438, allocations: 23.44 kB / 1.5 GB, free: 12.16 MB / 1.201 GB Notification: Performance of SimCode: time 3.01e-07/0.5438, allocations: 0 / 1.5 GB, free: 12.16 MB / 1.201 GB Notification: Performance of Templates: time 0.01034/0.5541, allocations: 5.252 MB / 1.505 GB, free: 6.992 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.27974723558873]