Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.001322/0.001322, allocations: 106.5 kB / 16.45 MB, free: 6.035 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.001365/0.001365, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.442/1.442, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.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.753/2.753, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] 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.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 75.89 kB / 1.104 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8274/0.8294, allocations: 168.7 MB / 1.269 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2172/1.047, allocations: 180 MB / 1.445 GB, free: 468 kB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01224/1.059, allocations: 7.867 MB / 1.452 GB, free: 8.57 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005646/1.059, allocations: 15.94 kB / 1.452 GB, free: 8.555 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007365/1.06, allocations: 254.2 kB / 1.452 GB, free: 8.305 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003144/1.063, allocations: 1.272 MB / 1.454 GB, free: 7.027 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00183/1.065, allocations: 0.7353 MB / 1.454 GB, free: 6.293 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001335/1.066, allocations: 1.079 MB / 1.456 GB, free: 5.207 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005628/1.067, allocations: 353.4 kB / 1.456 GB, free: 4.852 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00236/1.069, allocations: 0.8624 MB / 1.457 GB, free: 3.996 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006795/1.07, allocations: 458.3 kB / 1.457 GB, free: 3.547 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 6.961e-05/1.07, allocations: 36 kB / 1.457 GB, free: 3.512 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001865/1.072, allocations: 0.9977 MB / 1.458 GB, free: 2.512 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000197/1.072, allocations: 171.5 kB / 1.458 GB, free: 2.344 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002921/1.072, allocations: 250.7 kB / 1.459 GB, free: 2.098 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001557/1.074, allocations: 0.9382 MB / 1.459 GB, free: 1.156 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/1.074, allocations: 0 / 1.459 GB, free: 1.156 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.613e-06/1.074, allocations: 0 / 1.459 GB, free: 1.156 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.416e-05/1.074, allocations: 4 kB / 1.459 GB, free: 1.152 MB / 1.154 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.001291/1.075, allocations: 0.8154 MB / 1.46 GB, free: 296 kB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/1.075, allocations: 12.03 kB / 1.46 GB, free: 284 kB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.545e-05/1.075, allocations: 78.47 kB / 1.46 GB, free: 196 kB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009583/1.076, allocations: 147.5 kB / 1.46 GB, free: 48 kB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006972/1.077, allocations: 411.6 kB / 1.461 GB, free: 15.61 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.44e-05/1.077, allocations: 29 kB / 1.461 GB, free: 15.58 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.336e-05/1.077, allocations: 39.95 kB / 1.461 GB, free: 15.54 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007959/1.078, allocations: 454.3 kB / 1.461 GB, free: 15.07 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/1.078, allocations: 4 kB / 1.461 GB, free: 15.06 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.019e-05/1.078, allocations: 19.94 kB / 1.461 GB, free: 15.04 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/1.078, allocations: 8 kB / 1.461 GB, free: 15.04 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006479/1.079, allocations: 319.7 kB / 1.462 GB, free: 14.73 MB / 1.17 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.002484/1.081, allocations: 2.016 MB / 1.464 GB, free: 12.54 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004233/1.082, allocations: 218.4 kB / 1.464 GB, free: 12.31 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002629/1.082, allocations: 136.8 kB / 1.464 GB, free: 12.18 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006772/1.083, allocations: 315.2 kB / 1.464 GB, free: 11.81 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/1.083, allocations: 34.56 kB / 1.464 GB, free: 11.77 MB / 1.17 GB Notification: Performance of pre-optimization done (n=24): time 1.693e-06/1.083, allocations: 0 / 1.464 GB, free: 11.77 MB / 1.17 GB Notification: Performance of matching and sorting (n=24): time 0.001081/1.084, allocations: 457.1 kB / 1.465 GB, free: 11.32 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/1.084, allocations: 55.41 kB / 1.465 GB, free: 11.25 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004394/1.084, allocations: 401.9 kB / 1.465 GB, free: 10.86 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/1.084, allocations: 29.64 kB / 1.465 GB, free: 10.82 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/1.084, allocations: 232.6 kB / 1.465 GB, free: 10.59 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 7.899e-05/1.084, allocations: 83.27 kB / 1.466 GB, free: 10.51 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/1.085, allocations: 65.66 kB / 1.466 GB, free: 10.44 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001676/1.085, allocations: 354.7 kB / 1.466 GB, free: 10.09 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/1.085, allocations: 111.9 kB / 1.466 GB, free: 9.977 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002981/1.085, allocations: 190.6 kB / 1.466 GB, free: 9.766 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005285/1.086, allocations: 302.6 kB / 1.467 GB, free: 9.445 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/1.086, allocations: 0 / 1.467 GB, free: 9.445 MB / 1.17 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007167/1.087, allocations: 367.6 kB / 1.467 GB, free: 9.082 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/1.087, allocations: 8 kB / 1.467 GB, free: 9.074 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/1.087, allocations: 224 / 1.467 GB, free: 9.074 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/1.087, allocations: 8 kB / 1.467 GB, free: 9.066 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/1.087, allocations: 55.91 kB / 1.467 GB, free: 9.012 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/1.087, allocations: 4 kB / 1.467 GB, free: 9.008 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/1.087, allocations: 39.72 kB / 1.467 GB, free: 8.969 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.658e-05/1.087, allocations: 16 kB / 1.467 GB, free: 8.953 MB / 1.17 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.0001925/1.087, allocations: 173.6 kB / 1.467 GB, free: 8.773 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.293e-05/1.087, allocations: 43.72 kB / 1.467 GB, free: 8.73 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007355/1.088, allocations: 365 kB / 1.468 GB, free: 8.363 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/1.088, allocations: 0 / 1.468 GB, free: 8.363 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.892e-06/1.088, allocations: 4 kB / 1.468 GB, free: 8.359 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/1.088, allocations: 7.969 kB / 1.468 GB, free: 8.352 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/1.09, allocations: 0.941 MB / 1.468 GB, free: 7.332 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.09, allocations: 0 / 1.468 GB, free: 7.332 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/1.09, allocations: 51.91 kB / 1.469 GB, free: 7.281 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/1.09, allocations: 7.938 kB / 1.469 GB, free: 7.273 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/1.09, allocations: 8.219 kB / 1.469 GB, free: 7.266 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/1.09, allocations: 8 kB / 1.469 GB, free: 7.258 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/1.09, allocations: 7.984 kB / 1.469 GB, free: 7.25 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/1.091, allocations: 0.6301 MB / 1.469 GB, free: 6.586 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002066/1.091, allocations: 148.7 kB / 1.469 GB, free: 6.422 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.538e-05/1.091, allocations: 8 kB / 1.469 GB, free: 6.414 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/1.092, allocations: 15.98 kB / 1.469 GB, free: 6.398 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.494e-05/1.092, allocations: 20.03 kB / 1.469 GB, free: 6.379 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/1.092, allocations: 12 kB / 1.469 GB, free: 6.367 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0003221/1.092, allocations: 279.1 kB / 1.47 GB, free: 6.098 MB / 1.17 GB Notification: Performance of sort global known variables: time 7.1e-08/1.092, allocations: 0 / 1.47 GB, free: 6.098 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004963/1.092, allocations: 107.8 kB / 1.47 GB, free: 5.992 MB / 1.17 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.001737/1.094, allocations: 1.244 MB / 1.471 GB, free: 4.707 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0006881/1.095, allocations: 286.8 kB / 1.471 GB, free: 4.43 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.095, allocations: 448 / 1.471 GB, free: 4.43 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002844/1.095, allocations: 147.8 kB / 1.471 GB, free: 4.285 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/1.096, allocations: 215.9 kB / 1.472 GB, free: 4.078 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005353/1.102, allocations: 3.82 MB / 1.475 GB, free: 96 kB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/1.102, allocations: 0.8311 MB / 1.476 GB, free: 15.23 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000358/1.102, allocations: 103.4 kB / 1.476 GB, free: 15.13 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/1.103, allocations: 135.4 kB / 1.476 GB, free: 15 MB / 1.186 GB Notification: Performance of SimCode: time 9.01e-07/1.103, allocations: 0 / 1.476 GB, free: 15 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04481/1.148, allocations: 11.76 MB / 1.488 GB, free: 3.48 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.728/9.876, allocations: 10.23 kB / 1.488 GB, free: 3.473 MB / 1.186 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.906916565261781]