Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001715/0.001715, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.002034/0.002034, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.535/1.535, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.757/2.757, allocations: 443.5 MB / 0.7304 GB, free: 13.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 67.91 kB / 1.059 GB, free: 344 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3343, allocations: 160.7 MB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.9674/1.302, allocations: 168.3 MB / 1.38 GB, free: 9.676 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0097/1.311, allocations: 6.62 MB / 1.387 GB, free: 4.965 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007609/1.312, allocations: 15.16 kB / 1.387 GB, free: 4.957 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007088/1.313, allocations: 176.2 kB / 1.387 GB, free: 4.84 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002839/1.316, allocations: 0.8786 MB / 1.388 GB, free: 4.352 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001221/1.317, allocations: 330 kB / 1.388 GB, free: 4.113 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00113/1.318, allocations: 0.7334 MB / 1.389 GB, free: 3.688 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004212/1.318, allocations: 224.8 kB / 1.389 GB, free: 3.539 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001534/1.32, allocations: 0.5647 MB / 1.39 GB, free: 3.188 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004684/1.32, allocations: 284.2 kB / 1.39 GB, free: 3.023 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.773e-05/1.32, allocations: 22.97 kB / 1.39 GB, free: 3.023 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009089/1.321, allocations: 362.6 kB / 1.39 GB, free: 2.828 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001628/1.322, allocations: 109 kB / 1.391 GB, free: 2.754 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002294/1.322, allocations: 166.5 kB / 1.391 GB, free: 2.648 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008323/1.323, allocations: 481.3 kB / 1.391 GB, free: 2.344 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/1.323, allocations: 0 / 1.391 GB, free: 2.344 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.874e-06/1.323, allocations: 1 kB / 1.391 GB, free: 2.344 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.425e-05/1.323, allocations: 0 / 1.391 GB, free: 2.344 MB / 1.061 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.001108/1.324, allocations: 0.6167 MB / 1.392 GB, free: 1.785 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/1.324, allocations: 9.75 kB / 1.392 GB, free: 1.785 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004505/1.324, allocations: 62.28 kB / 1.392 GB, free: 1.754 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005947/1.325, allocations: 336.9 kB / 1.392 GB, free: 1.438 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.046e-05/1.325, allocations: 19.47 kB / 1.392 GB, free: 1.43 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.88e-05/1.325, allocations: 25.25 kB / 1.392 GB, free: 1.422 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006309/1.326, allocations: 316.9 kB / 1.392 GB, free: 1.195 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/1.326, allocations: 4.906 kB / 1.392 GB, free: 1.191 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/1.326, allocations: 11.09 kB / 1.392 GB, free: 1.184 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/1.326, allocations: 6.438 kB / 1.392 GB, free: 1.184 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004438/1.326, allocations: 209.2 kB / 1.393 GB, free: 1.086 MB / 1.061 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.001845/1.328, allocations: 1.54 MB / 1.394 GB, free: 15.63 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002966/1.328, allocations: 109.8 kB / 1.394 GB, free: 15.56 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/1.328, allocations: 92.33 kB / 1.394 GB, free: 15.51 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006623/1.329, allocations: 302.1 kB / 1.395 GB, free: 15.2 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/1.329, allocations: 32.66 kB / 1.395 GB, free: 15.16 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 3.677e-06/1.329, allocations: 4 kB / 1.395 GB, free: 15.16 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.0008387/1.33, allocations: 269.7 kB / 1.395 GB, free: 15.02 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/1.33, allocations: 56.97 kB / 1.395 GB, free: 14.95 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003792/1.33, allocations: 309.8 kB / 1.395 GB, free: 14.75 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/1.33, allocations: 30.77 kB / 1.395 GB, free: 14.71 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/1.331, allocations: 181.5 kB / 1.396 GB, free: 14.55 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.898e-05/1.331, allocations: 57.78 kB / 1.396 GB, free: 14.5 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.974e-05/1.331, allocations: 35.67 kB / 1.396 GB, free: 14.47 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001768/1.331, allocations: 341.5 kB / 1.396 GB, free: 14.13 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/1.331, allocations: 58.55 kB / 1.396 GB, free: 14.11 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/1.331, allocations: 112.6 kB / 1.396 GB, free: 14.02 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003599/1.332, allocations: 169.8 kB / 1.396 GB, free: 13.91 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.332, allocations: 5.438 kB / 1.396 GB, free: 13.9 MB / 1.076 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004301/1.332, allocations: 220.2 kB / 1.396 GB, free: 13.78 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/1.332, allocations: 6 kB / 1.396 GB, free: 13.78 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/1.332, allocations: 1.25 kB / 1.396 GB, free: 13.78 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/1.332, allocations: 6.391 kB / 1.396 GB, free: 13.77 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/1.332, allocations: 31.27 kB / 1.397 GB, free: 13.77 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/1.332, allocations: 6.625 kB / 1.397 GB, free: 13.77 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/1.332, allocations: 28.98 kB / 1.397 GB, free: 13.75 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/1.332, allocations: 6.375 kB / 1.397 GB, free: 13.75 MB / 1.076 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.0001693/1.333, allocations: 152.5 kB / 1.397 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.562e-05/1.333, allocations: 28.62 kB / 1.397 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004854/1.333, allocations: 205.9 kB / 1.397 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/1.333, allocations: 9.188 kB / 1.397 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/1.333, allocations: 0 / 1.397 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/1.333, allocations: 1.312 kB / 1.397 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/1.334, allocations: 0.68 MB / 1.398 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/1.334, allocations: 2.188 kB / 1.398 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/1.334, allocations: 25.17 kB / 1.398 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/1.334, allocations: 3.469 kB / 1.398 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/1.335, allocations: 10.11 kB / 1.398 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.887e-06/1.335, allocations: 15.22 kB / 1.398 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/1.335, allocations: 2.5 kB / 1.398 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004787/1.335, allocations: 335.8 kB / 1.398 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/1.335, allocations: 127.4 kB / 1.398 GB, free: 12.45 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.172e-05/1.335, allocations: 4.625 kB / 1.398 GB, free: 12.45 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/1.335, allocations: 15.72 kB / 1.398 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/1.335, allocations: 10.64 kB / 1.398 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/1.335, allocations: 9.156 kB / 1.398 GB, free: 12.43 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002526/1.336, allocations: 225.6 kB / 1.398 GB, free: 12.29 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/1.336, allocations: 4 kB / 1.398 GB, free: 12.28 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004298/1.336, allocations: 69.98 kB / 1.398 GB, free: 12.27 MB / 1.076 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.0004517/1.337, allocations: 163.4 kB / 1.399 GB, free: 12.15 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004287/1.337, allocations: 150.9 kB / 1.399 GB, free: 12.08 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.337, allocations: 0 / 1.399 GB, free: 12.08 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001877/1.337, allocations: 79.28 kB / 1.399 GB, free: 12.05 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008514/1.338, allocations: 161.3 kB / 1.399 GB, free: 11.96 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/1.339, allocations: 0.5489 MB / 1.399 GB, free: 11.57 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/1.34, allocations: 0.7808 MB / 1.4 GB, free: 10.82 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001991/1.34, allocations: 53.58 kB / 1.4 GB, free: 10.8 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.505e-05/1.34, allocations: 22.75 kB / 1.4 GB, free: 10.8 MB / 1.076 GB Notification: Performance of SimCode: time 6.11e-07/1.34, allocations: 4 kB / 1.4 GB, free: 10.79 MB / 1.076 GB Notification: Performance of Templates: time 0.01197/1.352, allocations: 5.24 MB / 1.405 GB, free: 8.211 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.608289965428412]