Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00146/0.00146, allocations: 104.7 kB / 16.45 MB, free: 6.445 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.001291/0.001291, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.492/1.492, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.789/2.789, allocations: 476.7 MB / 0.7611 GB, free: 15.67 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 67.89 kB / 1.104 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9725/0.9747, allocations: 168.7 MB / 1.269 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.2063/1.181, allocations: 161.9 MB / 1.427 GB, free: 15.33 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.006511/1.188, allocations: 4.566 MB / 1.431 GB, free: 11.65 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003994/1.188, allocations: 14.41 kB / 1.431 GB, free: 11.64 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0004764/1.188, allocations: 125.2 kB / 1.431 GB, free: 11.53 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.000943/1.189, allocations: 347.5 kB / 1.432 GB, free: 11.27 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008599/1.19, allocations: 278.2 kB / 1.432 GB, free: 11.07 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0007509/1.191, allocations: 0.5542 MB / 1.433 GB, free: 10.75 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003577/1.191, allocations: 184.6 kB / 1.433 GB, free: 10.64 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/1.192, allocations: 468.5 kB / 1.433 GB, free: 10.35 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003512/1.193, allocations: 198.5 kB / 1.433 GB, free: 10.23 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 4.494e-05/1.193, allocations: 17.03 kB / 1.433 GB, free: 10.23 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002123/1.193, allocations: 83.23 kB / 1.433 GB, free: 10.2 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001211/1.193, allocations: 88.94 kB / 1.434 GB, free: 10.14 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001481/1.193, allocations: 118.5 kB / 1.434 GB, free: 10.07 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0004762/1.194, allocations: 302.7 kB / 1.434 GB, free: 9.871 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/1.194, allocations: 0 / 1.434 GB, free: 9.871 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.653e-06/1.194, allocations: 1.156 kB / 1.434 GB, free: 9.871 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.828e-06/1.194, allocations: 4 kB / 1.434 GB, free: 9.867 MB / 1.123 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.0009345/1.195, allocations: 0.5356 MB / 1.434 GB, free: 9.363 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/1.195, allocations: 10.12 kB / 1.434 GB, free: 9.363 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.8e-05/1.195, allocations: 48.95 kB / 1.435 GB, free: 9.312 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.007e-05/1.195, allocations: 32.25 kB / 1.435 GB, free: 9.293 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004661/1.195, allocations: 293.9 kB / 1.435 GB, free: 9.012 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/1.195, allocations: 16.69 kB / 1.435 GB, free: 9.004 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.381e-05/1.195, allocations: 20.77 kB / 1.435 GB, free: 8.996 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004595/1.196, allocations: 268.4 kB / 1.435 GB, free: 8.777 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/1.196, allocations: 4.938 kB / 1.435 GB, free: 8.773 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/1.196, allocations: 10.5 kB / 1.435 GB, free: 8.766 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/1.196, allocations: 4.688 kB / 1.435 GB, free: 8.766 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003462/1.196, allocations: 149.2 kB / 1.435 GB, free: 8.695 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/1.198, allocations: 1.366 MB / 1.437 GB, free: 7.387 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003189/1.198, allocations: 186.6 kB / 1.437 GB, free: 7.191 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/1.198, allocations: 96.64 kB / 1.437 GB, free: 7.109 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000366/1.199, allocations: 116.3 kB / 1.437 GB, free: 7 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/1.199, allocations: 49.16 kB / 1.437 GB, free: 6.945 MB / 1.123 GB Notification: Performance of pre-optimization done (n=10): time 1.763e-06/1.199, allocations: 0 / 1.437 GB, free: 6.945 MB / 1.123 GB Notification: Performance of matching and sorting (n=10): time 0.0006346/1.199, allocations: 203.3 kB / 1.437 GB, free: 6.832 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/1.199, allocations: 191.2 kB / 1.437 GB, free: 6.605 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003215/1.2, allocations: 288.7 kB / 1.438 GB, free: 6.418 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/1.2, allocations: 30.89 kB / 1.438 GB, free: 6.383 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/1.2, allocations: 148.3 kB / 1.438 GB, free: 6.246 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/1.2, allocations: 36.12 kB / 1.438 GB, free: 6.215 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.822e-05/1.2, allocations: 34.97 kB / 1.438 GB, free: 6.188 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001535/1.2, allocations: 337.8 kB / 1.438 GB, free: 5.855 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/1.2, allocations: 47.55 kB / 1.438 GB, free: 5.832 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/1.2, allocations: 114.6 kB / 1.438 GB, free: 5.73 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/1.201, allocations: 159.9 kB / 1.439 GB, free: 5.605 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.201, allocations: 1.375 kB / 1.439 GB, free: 5.605 MB / 1.123 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004023/1.201, allocations: 197.7 kB / 1.439 GB, free: 5.488 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/1.201, allocations: 9.219 kB / 1.439 GB, free: 5.488 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/1.201, allocations: 1.375 kB / 1.439 GB, free: 5.488 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/1.201, allocations: 2.75 kB / 1.439 GB, free: 5.488 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/1.201, allocations: 36.66 kB / 1.439 GB, free: 5.477 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/1.201, allocations: 2.75 kB / 1.439 GB, free: 5.477 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/1.202, allocations: 29.72 kB / 1.439 GB, free: 5.457 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/1.202, allocations: 6.875 kB / 1.439 GB, free: 5.457 MB / 1.123 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.0001435/1.202, allocations: 143.7 kB / 1.439 GB, free: 5.324 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/1.202, allocations: 30.75 kB / 1.439 GB, free: 5.305 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003347/1.202, allocations: 135.1 kB / 1.439 GB, free: 5.207 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/1.202, allocations: 2.75 kB / 1.439 GB, free: 5.207 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.202, allocations: 5.375 kB / 1.439 GB, free: 5.203 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/1.202, allocations: 1.375 kB / 1.439 GB, free: 5.203 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009212/1.203, allocations: 0.7639 MB / 1.44 GB, free: 4.449 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/1.203, allocations: 1.375 kB / 1.44 GB, free: 4.449 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/1.203, allocations: 33.94 kB / 1.44 GB, free: 4.434 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/1.203, allocations: 6.688 kB / 1.44 GB, free: 4.43 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/1.203, allocations: 6.797 kB / 1.44 GB, free: 4.426 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/1.203, allocations: 5.5 kB / 1.44 GB, free: 4.422 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/1.203, allocations: 9.297 kB / 1.44 GB, free: 4.414 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005367/1.204, allocations: 337.1 kB / 1.44 GB, free: 4.148 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/1.204, allocations: 119.8 kB / 1.44 GB, free: 4.023 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.968e-05/1.204, allocations: 2.75 kB / 1.44 GB, free: 4.023 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/1.204, allocations: 8.109 kB / 1.44 GB, free: 4.02 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/1.204, allocations: 17.5 kB / 1.44 GB, free: 4.008 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/1.204, allocations: 8.109 kB / 1.44 GB, free: 4.004 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002191/1.204, allocations: 208.4 kB / 1.441 GB, free: 3.863 MB / 1.123 GB Notification: Performance of sort global known variables: time 6e-08/1.204, allocations: 1.375 kB / 1.441 GB, free: 3.863 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0003608/1.205, allocations: 52.66 kB / 1.441 GB, free: 3.855 MB / 1.123 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.00108/1.206, allocations: 0.9143 MB / 1.442 GB, free: 3.035 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0003573/1.206, allocations: 117.1 kB / 1.442 GB, free: 2.984 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.206, allocations: 1.469 kB / 1.442 GB, free: 2.984 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/1.206, allocations: 55.97 kB / 1.442 GB, free: 2.961 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007509/1.207, allocations: 142.1 kB / 1.442 GB, free: 2.883 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003473/1.211, allocations: 2.616 MB / 1.444 GB, free: 0.5938 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/1.211, allocations: 0.7556 MB / 1.445 GB, free: 15.81 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001808/1.211, allocations: 54.25 kB / 1.445 GB, free: 15.76 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/1.211, allocations: 67.42 kB / 1.445 GB, free: 15.7 MB / 1.139 GB Notification: Performance of SimCode: time 8.62e-07/1.211, allocations: 0 / 1.445 GB, free: 15.7 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03439/1.246, allocations: 6.918 MB / 1.452 GB, free: 8.945 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.601/9.847, allocations: 4 kB / 1.452 GB, free: 8.941 MB / 1.139 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 16.09496926702559]