Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001513/0.001513, allocations: 109.3 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.001689/0.001689, 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.48/1.48, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.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.64/2.64, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002461/0.002461, allocations: 75.88 kB / 1.056 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9181/0.9206, allocations: 160.7 MB / 1.213 GB, free: 3.848 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2306/1.151, allocations: 180 MB / 1.389 GB, free: 3.508 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01093/1.162, allocations: 7.866 MB / 1.396 GB, free: 11.62 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007661/1.163, allocations: 19.88 kB / 1.396 GB, free: 11.6 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.000834/1.164, allocations: 246.2 kB / 1.397 GB, free: 11.36 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004121/1.168, allocations: 1.268 MB / 1.398 GB, free: 10.09 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002335/1.17, allocations: 0.7421 MB / 1.399 GB, free: 9.344 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001612/1.172, allocations: 1.083 MB / 1.4 GB, free: 8.258 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006347/1.172, allocations: 357.5 kB / 1.4 GB, free: 7.902 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002961/1.175, allocations: 0.8666 MB / 1.401 GB, free: 7.043 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007742/1.176, allocations: 458.3 kB / 1.401 GB, free: 6.594 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 6.622e-05/1.176, allocations: 36 kB / 1.401 GB, free: 6.559 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002043/1.178, allocations: 1.009 MB / 1.402 GB, free: 5.547 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002067/1.178, allocations: 155.5 kB / 1.402 GB, free: 5.395 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0003078/1.179, allocations: 246.8 kB / 1.403 GB, free: 5.152 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.00171/1.18, allocations: 0.9382 MB / 1.404 GB, free: 4.211 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/1.18, allocations: 4 kB / 1.404 GB, free: 4.207 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.533e-06/1.18, allocations: 4 kB / 1.404 GB, free: 4.203 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.578e-06/1.18, allocations: 0 / 1.404 GB, free: 4.203 MB / 1.107 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.001299/1.182, allocations: 0.8211 MB / 1.404 GB, free: 3.328 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/1.182, allocations: 8.625 kB / 1.404 GB, free: 3.32 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.884e-05/1.182, allocations: 78.45 kB / 1.405 GB, free: 3.234 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009633/1.183, allocations: 155.5 kB / 1.405 GB, free: 3.082 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006937/1.184, allocations: 407.7 kB / 1.405 GB, free: 2.645 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/1.184, allocations: 29 kB / 1.405 GB, free: 2.617 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.666e-05/1.184, allocations: 36 kB / 1.405 GB, free: 2.582 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007655/1.184, allocations: 450.3 kB / 1.406 GB, free: 2.117 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/1.184, allocations: 0 / 1.406 GB, free: 2.117 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.937e-05/1.184, allocations: 19.94 kB / 1.406 GB, free: 2.098 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/1.185, allocations: 8 kB / 1.406 GB, free: 2.09 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006471/1.185, allocations: 331.7 kB / 1.406 GB, free: 1.766 MB / 1.107 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.002499/1.188, allocations: 2.008 MB / 1.408 GB, free: 15.59 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004307/1.188, allocations: 229.1 kB / 1.408 GB, free: 15.36 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000262/1.188, allocations: 132.8 kB / 1.408 GB, free: 15.22 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006238/1.189, allocations: 311.2 kB / 1.408 GB, free: 14.86 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/1.189, allocations: 30.56 kB / 1.409 GB, free: 14.82 MB / 1.123 GB Notification: Performance of pre-optimization done (n=24): time 1.433e-06/1.189, allocations: 3.938 kB / 1.409 GB, free: 14.82 MB / 1.123 GB Notification: Performance of matching and sorting (n=24): time 0.001112/1.19, allocations: 453.4 kB / 1.409 GB, free: 14.37 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/1.19, allocations: 63.41 kB / 1.409 GB, free: 14.3 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004518/1.191, allocations: 390 kB / 1.409 GB, free: 13.91 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/1.191, allocations: 33.7 kB / 1.409 GB, free: 13.87 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/1.191, allocations: 236.5 kB / 1.41 GB, free: 13.63 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 8.336e-05/1.191, allocations: 87.25 kB / 1.41 GB, free: 13.55 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/1.191, allocations: 57.66 kB / 1.41 GB, free: 13.48 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001783/1.191, allocations: 350.7 kB / 1.41 GB, free: 13.13 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/1.191, allocations: 115.9 kB / 1.41 GB, free: 13.02 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003557/1.192, allocations: 182.7 kB / 1.41 GB, free: 12.82 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005324/1.192, allocations: 309.2 kB / 1.411 GB, free: 12.49 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/1.192, allocations: 0 / 1.411 GB, free: 12.49 MB / 1.123 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006928/1.193, allocations: 370.8 kB / 1.411 GB, free: 12.12 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/1.193, allocations: 8 kB / 1.411 GB, free: 12.12 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.193, allocations: 0 / 1.411 GB, free: 12.12 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/1.193, allocations: 4 kB / 1.411 GB, free: 12.11 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002948/1.193, allocations: 59.91 kB / 1.411 GB, free: 12.05 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/1.193, allocations: 7.984 kB / 1.411 GB, free: 12.05 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/1.194, allocations: 39.95 kB / 1.411 GB, free: 12.01 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.052e-05/1.194, allocations: 15.98 kB / 1.411 GB, free: 11.99 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 (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.0002044/1.194, allocations: 179.2 kB / 1.411 GB, free: 11.81 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.695e-05/1.194, allocations: 39.72 kB / 1.411 GB, free: 11.77 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007446/1.195, allocations: 365 kB / 1.412 GB, free: 11.41 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/1.195, allocations: 4 kB / 1.412 GB, free: 11.4 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/1.195, allocations: 0 / 1.412 GB, free: 11.4 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.195, allocations: 4 kB / 1.412 GB, free: 11.4 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/1.196, allocations: 0.9355 MB / 1.413 GB, free: 10.39 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/1.196, allocations: 8 kB / 1.413 GB, free: 10.38 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/1.197, allocations: 47.91 kB / 1.413 GB, free: 10.33 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/1.197, allocations: 3.938 kB / 1.413 GB, free: 10.33 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/1.197, allocations: 8 kB / 1.413 GB, free: 10.32 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/1.197, allocations: 7.984 kB / 1.413 GB, free: 10.31 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.197, allocations: 4 kB / 1.413 GB, free: 10.31 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/1.198, allocations: 0.6274 MB / 1.413 GB, free: 9.645 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002198/1.198, allocations: 160.7 kB / 1.414 GB, free: 9.469 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.459e-05/1.198, allocations: 7.984 kB / 1.414 GB, free: 9.461 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/1.198, allocations: 8 kB / 1.414 GB, free: 9.453 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.537e-05/1.198, allocations: 23.91 kB / 1.414 GB, free: 9.43 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/1.198, allocations: 8 kB / 1.414 GB, free: 9.422 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0003155/1.199, allocations: 283.1 kB / 1.414 GB, free: 9.148 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/1.199, allocations: 4.062 kB / 1.414 GB, free: 9.145 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0004819/1.199, allocations: 111.8 kB / 1.414 GB, free: 9.035 MB / 1.123 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.001688/1.201, allocations: 1.237 MB / 1.415 GB, free: 7.758 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0006413/1.201, allocations: 279.5 kB / 1.415 GB, free: 7.484 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.201, allocations: 0 / 1.415 GB, free: 7.484 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002874/1.202, allocations: 146.7 kB / 1.416 GB, free: 7.344 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/1.203, allocations: 219.8 kB / 1.416 GB, free: 7.133 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005361/1.208, allocations: 3.811 MB / 1.419 GB, free: 3.156 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005119/1.209, allocations: 0.835 MB / 1.42 GB, free: 2.289 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0003615/1.209, allocations: 99.41 kB / 1.42 GB, free: 2.188 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/1.209, allocations: 135.4 kB / 1.421 GB, free: 2.055 MB / 1.123 GB Notification: Performance of SimCode: time 8.01e-07/1.209, allocations: 0 / 1.421 GB, free: 2.055 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04065/1.25, allocations: 11.77 MB / 1.432 GB, free: 6.527 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.849/10.1, allocations: 8.641 kB / 1.432 GB, free: 6.52 MB / 1.139 GB " [Timeout remaining time 290] (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 16.203432430047542]