Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001449/0.001449, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 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.00162/0.00162, allocations: 218.1 kB / 23.04 MB, free: 5.078 MB / 14.72 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 1.332/1.332, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.941/2.941, allocations: 0.5003 GB / 0.8061 GB, free: 26.8 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 67.16 kB / 1.171 GB, free: 19.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2875, allocations: 179 MB / 1.345 GB, free: 460 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.198/0.4855, allocations: 183.2 MB / 1.524 GB, free: 8.523 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01029/0.4958, allocations: 7.947 MB / 1.532 GB, free: 0.5508 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005888/0.4964, allocations: 27.75 kB / 1.532 GB, free: 0.5234 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0007506/0.4971, allocations: 250.2 kB / 1.532 GB, free: 284 kB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.003107/0.5002, allocations: 1.28 MB / 1.534 GB, free: 14.99 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.5021, allocations: 0.7708 MB / 1.534 GB, free: 14.22 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.001441/0.5035, allocations: 1.083 MB / 1.535 GB, free: 13.14 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005993/0.5041, allocations: 325.9 kB / 1.536 GB, free: 12.81 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002914/0.507, allocations: 1.031 MB / 1.537 GB, free: 11.79 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000753/0.5078, allocations: 446.5 kB / 1.537 GB, free: 11.35 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 7.768e-05/0.5079, allocations: 36 kB / 1.537 GB, free: 11.32 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00181/0.5097, allocations: 1.013 MB / 1.538 GB, free: 10.3 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.000191/0.5099, allocations: 163.5 kB / 1.538 GB, free: 10.14 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0003024/0.5102, allocations: 250.8 kB / 1.539 GB, free: 9.895 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.001571/0.5117, allocations: 0.9382 MB / 1.539 GB, free: 8.953 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.5117, allocations: 3.938 kB / 1.539 GB, free: 8.949 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5117, allocations: 4 kB / 1.539 GB, free: 8.945 MB / 1.232 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.5118, allocations: 0 / 1.539 GB, free: 8.945 MB / 1.232 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.001149/0.5129, allocations: 0.742 MB / 1.54 GB, free: 8.172 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.5129, allocations: 12.03 kB / 1.54 GB, free: 8.16 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.575e-05/0.513, allocations: 12.94 kB / 1.54 GB, free: 8.148 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.765e-05/0.513, allocations: 74.53 kB / 1.54 GB, free: 8.066 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009/0.5139, allocations: 155.5 kB / 1.54 GB, free: 7.914 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005673/0.5145, allocations: 344.4 kB / 1.541 GB, free: 7.555 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/0.5145, allocations: 29 kB / 1.541 GB, free: 7.523 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.168e-05/0.5146, allocations: 40 kB / 1.541 GB, free: 7.484 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007028/0.5153, allocations: 446.4 kB / 1.541 GB, free: 7.023 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.5153, allocations: 11.92 kB / 1.541 GB, free: 7.012 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.218e-05/0.5154, allocations: 12 kB / 1.541 GB, free: 7 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.5154, allocations: 12 kB / 1.541 GB, free: 6.988 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005926/0.516, allocations: 319.7 kB / 1.542 GB, free: 6.676 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002133/0.5181, allocations: 1.976 MB / 1.544 GB, free: 4.535 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003916/0.5185, allocations: 226.4 kB / 1.544 GB, free: 4.305 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.5187, allocations: 136.8 kB / 1.544 GB, free: 4.168 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004548/0.5192, allocations: 79.91 kB / 1.544 GB, free: 4.09 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.5192, allocations: 34.97 kB / 1.544 GB, free: 4.047 MB / 1.232 GB Notification: Performance of pre-optimization done (n=24): time 1.693e-06/0.5192, allocations: 0 / 1.544 GB, free: 4.047 MB / 1.232 GB Notification: Performance of matching and sorting (n=24): time 0.001026/0.5202, allocations: 468.8 kB / 1.544 GB, free: 3.582 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.5203, allocations: 51.41 kB / 1.544 GB, free: 3.52 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004186/0.5207, allocations: 401.9 kB / 1.545 GB, free: 3.113 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.5207, allocations: 29.7 kB / 1.545 GB, free: 3.078 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.5209, allocations: 236.5 kB / 1.545 GB, free: 2.84 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 8.601e-05/0.521, allocations: 87.27 kB / 1.545 GB, free: 2.754 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.5211, allocations: 61.62 kB / 1.545 GB, free: 2.688 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.5213, allocations: 358.7 kB / 1.546 GB, free: 2.328 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/0.5215, allocations: 107.9 kB / 1.546 GB, free: 2.223 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002891/0.5218, allocations: 178.8 kB / 1.546 GB, free: 2.023 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005018/0.5223, allocations: 305.7 kB / 1.546 GB, free: 1.703 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.5223, allocations: 8 kB / 1.546 GB, free: 1.695 MB / 1.232 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006378/0.5229, allocations: 361 kB / 1.547 GB, free: 1.336 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.5229, allocations: 5.562 kB / 1.547 GB, free: 1.332 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.5229, allocations: 4 kB / 1.547 GB, free: 1.328 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.523, allocations: 0 / 1.547 GB, free: 1.328 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/0.5232, allocations: 64.12 kB / 1.547 GB, free: 1.266 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.5232, allocations: 4 kB / 1.547 GB, free: 1.262 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002281/0.5235, allocations: 43.72 kB / 1.547 GB, free: 1.219 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.695e-05/0.5235, allocations: 8 kB / 1.547 GB, free: 1.211 MB / 1.232 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 0.0001826/0.5237, allocations: 170.3 kB / 1.547 GB, free: 1.035 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-05/0.5238, allocations: 43.72 kB / 1.547 GB, free: 0.9922 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006948/0.5244, allocations: 371.3 kB / 1.547 GB, free: 0.6289 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.5245, allocations: 8 kB / 1.547 GB, free: 0.6211 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5245, allocations: 3.938 kB / 1.547 GB, free: 0.6172 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5245, allocations: 0 / 1.547 GB, free: 0.6172 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/0.5259, allocations: 0.905 MB / 1.548 GB, free: 15.64 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.5259, allocations: 4 kB / 1.548 GB, free: 15.64 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/0.5262, allocations: 51.84 kB / 1.548 GB, free: 15.59 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.5262, allocations: 0 / 1.548 GB, free: 15.59 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.5262, allocations: 8 kB / 1.548 GB, free: 15.58 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.5262, allocations: 4 kB / 1.548 GB, free: 15.57 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.5262, allocations: 4 kB / 1.548 GB, free: 15.57 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009304/0.5271, allocations: 0.6376 MB / 1.549 GB, free: 14.89 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.5273, allocations: 71.62 kB / 1.549 GB, free: 14.82 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.525e-05/0.5273, allocations: 8 kB / 1.549 GB, free: 14.82 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.5275, allocations: 15.92 kB / 1.549 GB, free: 14.8 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.5276, allocations: 19.97 kB / 1.549 GB, free: 14.78 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.5276, allocations: 8 kB / 1.549 GB, free: 14.77 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0002754/0.5279, allocations: 287.2 kB / 1.549 GB, free: 14.5 MB / 1.248 GB Notification: Performance of sort global known variables: time 7e-08/0.5279, allocations: 0 / 1.549 GB, free: 14.5 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0004327/0.5283, allocations: 119.7 kB / 1.549 GB, free: 14.38 MB / 1.248 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.001386/0.5297, allocations: 1.221 MB / 1.55 GB, free: 13.11 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0005654/0.5303, allocations: 282.3 kB / 1.551 GB, free: 12.84 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5303, allocations: 0 / 1.551 GB, free: 12.84 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0002655/0.5305, allocations: 144.7 kB / 1.551 GB, free: 12.7 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.5316, allocations: 219 kB / 1.551 GB, free: 12.49 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004719/0.5363, allocations: 3.801 MB / 1.555 GB, free: 8.52 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/0.5367, allocations: 0.8272 MB / 1.556 GB, free: 7.664 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0002623/0.537, allocations: 103.4 kB / 1.556 GB, free: 7.562 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/0.5372, allocations: 143.3 kB / 1.556 GB, free: 7.422 MB / 1.248 GB Notification: Performance of SimCode: time 8.52e-07/0.5372, allocations: 0 / 1.556 GB, free: 7.422 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03923/0.5764, allocations: 12 MB / 1.568 GB, free: 11.67 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.31, allocations: 5.438 kB / 1.568 GB, free: 11.67 MB / 1.264 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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: 17.443202045047656]