Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.001279/0.001279, allocations: 108.9 kB / 17.08 MB, free: 5.984 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.001321/0.001321, allocations: 195.6 kB / 20.03 MB, free: 3.059 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.421/1.421, allocations: 222.9 MB / 245.7 MB, free: 4.234 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.645/2.645, allocations: 437.1 MB / 0.7178 GB, free: 4.82 MB / 0.5606 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.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 63.91 kB / 1.028 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3278, allocations: 151.6 MB / 1.176 GB, free: 5.895 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.9315/1.259, allocations: 161.4 MB / 1.333 GB, free: 7.414 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007559/1.267, allocations: 4.543 MB / 1.338 GB, free: 4.168 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005569/1.268, allocations: 10.31 kB / 1.338 GB, free: 4.164 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005913/1.268, allocations: 124.9 kB / 1.338 GB, free: 4.078 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001257/1.269, allocations: 334.9 kB / 1.338 GB, free: 3.898 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001126/1.271, allocations: 278.8 kB / 1.339 GB, free: 3.766 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001061/1.272, allocations: 0.5629 MB / 1.339 GB, free: 3.516 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005126/1.272, allocations: 192.8 kB / 1.339 GB, free: 3.441 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001443/1.274, allocations: 462.5 kB / 1.34 GB, free: 3.234 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004889/1.274, allocations: 186.3 kB / 1.34 GB, free: 3.16 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.301e-05/1.274, allocations: 20.75 kB / 1.34 GB, free: 3.156 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003071/1.275, allocations: 84.33 kB / 1.34 GB, free: 3.137 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001634/1.275, allocations: 87.27 kB / 1.34 GB, free: 3.102 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002225/1.275, allocations: 118.4 kB / 1.34 GB, free: 3.035 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0006453/1.276, allocations: 294.9 kB / 1.341 GB, free: 2.934 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.276, allocations: 0 / 1.341 GB, free: 2.934 MB / 1.014 GB Notification: Performance of FrontEnd: time 4.178e-06/1.276, allocations: 4.781 kB / 1.341 GB, free: 2.93 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.478e-05/1.276, allocations: 5.438 kB / 1.341 GB, free: 2.926 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001209/1.277, allocations: 0.5488 MB / 1.341 GB, free: 2.438 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/1.277, allocations: 9.688 kB / 1.341 GB, free: 2.438 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/1.277, allocations: 33.83 kB / 1.341 GB, free: 2.418 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005339/1.278, allocations: 289.8 kB / 1.341 GB, free: 2.168 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/1.278, allocations: 11.03 kB / 1.341 GB, free: 2.164 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.614e-05/1.278, allocations: 17.41 kB / 1.341 GB, free: 2.16 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005657/1.278, allocations: 264.1 kB / 1.342 GB, free: 1.984 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/1.278, allocations: 1.078 kB / 1.342 GB, free: 1.984 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.149e-05/1.278, allocations: 15.78 kB / 1.342 GB, free: 1.973 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/1.278, allocations: 4 kB / 1.342 GB, free: 1.973 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003735/1.279, allocations: 148.2 kB / 1.342 GB, free: 1.93 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/1.28, allocations: 1.374 MB / 1.343 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003357/1.281, allocations: 180.8 kB / 1.343 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/1.281, allocations: 94.53 kB / 1.343 GB, free: 488 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003895/1.281, allocations: 123.1 kB / 1.344 GB, free: 384 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/1.281, allocations: 37.06 kB / 1.344 GB, free: 344 kB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.864e-06/1.281, allocations: 4 kB / 1.344 GB, free: 340 kB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0006766/1.282, allocations: 210.8 kB / 1.344 GB, free: 244 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/1.282, allocations: 182.5 kB / 1.344 GB, free: 20 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003766/1.282, allocations: 289.8 kB / 1.344 GB, free: 15.87 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/1.283, allocations: 30.98 kB / 1.344 GB, free: 15.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/1.283, allocations: 152.8 kB / 1.344 GB, free: 15.7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/1.283, allocations: 35.91 kB / 1.344 GB, free: 15.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.79e-05/1.283, allocations: 34.27 kB / 1.344 GB, free: 15.65 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001687/1.283, allocations: 341.7 kB / 1.345 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/1.283, allocations: 44.91 kB / 1.345 GB, free: 15.31 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/1.283, allocations: 113.8 kB / 1.345 GB, free: 15.22 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003149/1.284, allocations: 158.1 kB / 1.345 GB, free: 15.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/1.284, allocations: 1.5 kB / 1.345 GB, free: 15.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004317/1.284, allocations: 189.4 kB / 1.345 GB, free: 15.03 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/1.284, allocations: 9.219 kB / 1.345 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/1.284, allocations: 3 kB / 1.345 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/1.284, allocations: 3.812 kB / 1.345 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/1.284, allocations: 31.45 kB / 1.345 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/1.284, allocations: 2.625 kB / 1.345 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/1.285, allocations: 31.14 kB / 1.345 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.213e-05/1.285, allocations: 11 kB / 1.345 GB, free: 15 MB / 1.029 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 (15): * Single equations (assignments): 15 * 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.0001624/1.285, allocations: 148.5 kB / 1.346 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/1.285, allocations: 32.39 kB / 1.346 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003684/1.285, allocations: 132.7 kB / 1.346 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.545e-06/1.285, allocations: 1.875 kB / 1.346 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/1.285, allocations: 2.172 kB / 1.346 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/1.285, allocations: 6.172 kB / 1.346 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/1.286, allocations: 0.7785 MB / 1.346 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.286, allocations: 4.438 kB / 1.346 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/1.287, allocations: 22.72 kB / 1.346 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/1.287, allocations: 2.156 kB / 1.346 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/1.287, allocations: 6.375 kB / 1.346 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/1.287, allocations: 6.531 kB / 1.346 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.287, allocations: 2.672 kB / 1.347 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005857/1.287, allocations: 340.1 kB / 1.347 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/1.287, allocations: 112.5 kB / 1.347 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/1.287, allocations: 2.5 kB / 1.347 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/1.287, allocations: 13.52 kB / 1.347 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/1.288, allocations: 11.31 kB / 1.347 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/1.288, allocations: 3.469 kB / 1.347 GB, free: 13.69 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002281/1.288, allocations: 214.7 kB / 1.347 GB, free: 13.57 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.737e-06/1.288, allocations: 0 / 1.347 GB, free: 13.57 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00038/1.288, allocations: 60.62 kB / 1.347 GB, free: 13.55 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.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 (10): * Single equations (assignments): 10 * 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.0004047/1.289, allocations: 135.9 kB / 1.347 GB, free: 13.46 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003973/1.289, allocations: 128.3 kB / 1.347 GB, free: 13.42 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.289, allocations: 96 / 1.347 GB, free: 13.42 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001525/1.289, allocations: 63.61 kB / 1.348 GB, free: 13.4 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008047/1.29, allocations: 126.5 kB / 1.348 GB, free: 13.38 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00093/1.291, allocations: 0.5149 MB / 1.348 GB, free: 13 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/1.291, allocations: 0.764 MB / 1.349 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.219e-05/1.291, allocations: 21.41 kB / 1.349 GB, free: 12.28 MB / 1.029 GB Notification: Performance of SimCode: time 2.4e-07/1.291, allocations: 1.5 kB / 1.349 GB, free: 12.28 MB / 1.029 GB Notification: Performance of Templates: time 0.007613/1.299, allocations: 3.808 MB / 1.353 GB, free: 11.93 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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: 12.23396360699553]