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.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.001898/0.001898, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002626/0.002626, allocations: 219 kB / 23.03 MB, free: 4.945 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.809/2.809, allocations: 476.8 MB / 0.7715 GB, free: 3.941 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_11_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.002052/0.002052, allocations: 70.14 kB / 1.118 GB, free: 39.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3285, allocations: 170 MB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2145/0.543, allocations: 158.4 MB / 1.439 GB, free: 11.76 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01079/0.5538, allocations: 7.2 MB / 1.446 GB, free: 4.535 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000643/0.5544, allocations: 27.75 kB / 1.446 GB, free: 4.508 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0009516/0.5554, allocations: 254.2 kB / 1.446 GB, free: 4.258 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003584/0.559, allocations: 1.225 MB / 1.447 GB, free: 3.027 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002085/0.561, allocations: 0.7678 MB / 1.448 GB, free: 2.262 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001699/0.5627, allocations: 1.099 MB / 1.449 GB, free: 1.156 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006857/0.5634, allocations: 337.4 kB / 1.449 GB, free: 0.8242 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002663/0.5661, allocations: 0.8555 MB / 1.45 GB, free: 15.98 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008415/0.5669, allocations: 454.4 kB / 1.451 GB, free: 15.53 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 8.051e-05/0.567, allocations: 40 kB / 1.451 GB, free: 15.49 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001631/0.5686, allocations: 0.8065 MB / 1.452 GB, free: 14.68 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002238/0.5689, allocations: 163.5 kB / 1.452 GB, free: 14.52 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0003209/0.5692, allocations: 211.1 kB / 1.452 GB, free: 14.32 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001675/0.5709, allocations: 0.9187 MB / 1.453 GB, free: 13.39 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.5709, allocations: 0 / 1.453 GB, free: 13.39 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5709, allocations: 0 / 1.453 GB, free: 13.39 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.322e-05/0.5709, allocations: 0 / 1.453 GB, free: 13.39 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/0.5722, allocations: 0.738 MB / 1.453 GB, free: 12.62 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.5722, allocations: 12.03 kB / 1.454 GB, free: 12.61 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.654e-05/0.5722, allocations: 12.94 kB / 1.454 GB, free: 12.6 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.366e-05/0.5723, allocations: 78.53 kB / 1.454 GB, free: 12.51 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.5733, allocations: 147.5 kB / 1.454 GB, free: 12.37 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006563/0.574, allocations: 352.4 kB / 1.454 GB, free: 12 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.574, allocations: 33 kB / 1.454 GB, free: 11.96 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.487e-05/0.5741, allocations: 36 kB / 1.454 GB, free: 11.93 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008204/0.5749, allocations: 454.3 kB / 1.455 GB, free: 11.46 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.5749, allocations: 3.938 kB / 1.455 GB, free: 11.46 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.754e-05/0.575, allocations: 16 kB / 1.455 GB, free: 11.44 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.575, allocations: 8 kB / 1.455 GB, free: 11.43 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006495/0.5756, allocations: 315.8 kB / 1.455 GB, free: 11.12 MB / 1.154 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.00222/0.5778, allocations: 1.493 MB / 1.456 GB, free: 9.566 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004494/0.5783, allocations: 236 kB / 1.457 GB, free: 9.328 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002836/0.5786, allocations: 136.8 kB / 1.457 GB, free: 9.191 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005117/0.5791, allocations: 75.92 kB / 1.457 GB, free: 9.117 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.5791, allocations: 34.97 kB / 1.457 GB, free: 9.074 MB / 1.154 GB Notification: Performance of pre-optimization done (n=24): time 1.764e-06/0.5791, allocations: 4 kB / 1.457 GB, free: 9.07 MB / 1.154 GB Notification: Performance of matching and sorting (n=24): time 0.001098/0.5802, allocations: 463.7 kB / 1.457 GB, free: 8.613 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.5803, allocations: 51.41 kB / 1.457 GB, free: 8.551 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000466/0.5807, allocations: 405.8 kB / 1.458 GB, free: 8.141 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.5808, allocations: 29.7 kB / 1.458 GB, free: 8.105 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.581, allocations: 228.6 kB / 1.458 GB, free: 7.879 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 9.269e-05/0.581, allocations: 99.2 kB / 1.458 GB, free: 7.781 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.5812, allocations: 49.7 kB / 1.458 GB, free: 7.727 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.5813, allocations: 354.7 kB / 1.458 GB, free: 7.371 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/0.5816, allocations: 107.9 kB / 1.459 GB, free: 7.266 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003649/0.5819, allocations: 264.4 kB / 1.459 GB, free: 6.965 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005718/0.5825, allocations: 306.6 kB / 1.459 GB, free: 6.641 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.5825, allocations: 4 kB / 1.459 GB, free: 6.637 MB / 1.154 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006924/0.5832, allocations: 357.8 kB / 1.459 GB, free: 6.281 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.5832, allocations: 8 kB / 1.459 GB, free: 6.273 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.5832, allocations: 7.984 kB / 1.459 GB, free: 6.266 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.5833, allocations: 3.938 kB / 1.459 GB, free: 6.262 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/0.5836, allocations: 59.97 kB / 1.459 GB, free: 6.203 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.5836, allocations: 3.938 kB / 1.459 GB, free: 6.199 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002717/0.5838, allocations: 43.72 kB / 1.46 GB, free: 6.156 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-05/0.5839, allocations: 12 kB / 1.46 GB, free: 6.145 MB / 1.154 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.0002075/0.5841, allocations: 169.6 kB / 1.46 GB, free: 5.969 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.946e-05/0.5842, allocations: 43.77 kB / 1.46 GB, free: 5.926 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007774/0.5849, allocations: 379.1 kB / 1.46 GB, free: 5.551 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.5849, allocations: 0 / 1.46 GB, free: 5.551 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.585, allocations: 0 / 1.46 GB, free: 5.551 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.585, allocations: 3.984 kB / 1.46 GB, free: 5.547 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.5865, allocations: 0.8797 MB / 1.461 GB, free: 4.598 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.5865, allocations: 0 / 1.461 GB, free: 4.598 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.5868, allocations: 47.91 kB / 1.461 GB, free: 4.551 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.5868, allocations: 4 kB / 1.461 GB, free: 4.547 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.5868, allocations: 8 kB / 1.461 GB, free: 4.539 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.919e-06/0.5868, allocations: 11.92 kB / 1.461 GB, free: 4.527 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5868, allocations: 0 / 1.461 GB, free: 4.527 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.5879, allocations: 0.6326 MB / 1.462 GB, free: 3.859 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.588, allocations: 67.75 kB / 1.462 GB, free: 3.793 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.88e-05/0.5881, allocations: 11.94 kB / 1.462 GB, free: 3.781 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.5883, allocations: 12 kB / 1.462 GB, free: 3.77 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.393e-05/0.5884, allocations: 23.88 kB / 1.462 GB, free: 3.746 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.5884, allocations: 11.98 kB / 1.462 GB, free: 3.734 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0003569/0.5888, allocations: 279.1 kB / 1.462 GB, free: 3.465 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5888, allocations: 0 / 1.462 GB, free: 3.465 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.00051/0.5893, allocations: 123.8 kB / 1.462 GB, free: 3.344 MB / 1.154 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.001676/0.591, allocations: 1.21 MB / 1.463 GB, free: 2.086 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0006694/0.5916, allocations: 283.9 kB / 1.464 GB, free: 1.809 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.5916, allocations: 0 / 1.464 GB, free: 1.809 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002986/0.5919, allocations: 143.8 kB / 1.464 GB, free: 1.668 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.5931, allocations: 227.5 kB / 1.464 GB, free: 1.453 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005727/0.5989, allocations: 3.804 MB / 1.468 GB, free: 13.47 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.5991, allocations: 228 kB / 1.468 GB, free: 13.22 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0003436/0.5995, allocations: 99.36 kB / 1.468 GB, free: 13.12 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002365/0.5997, allocations: 135.4 kB / 1.468 GB, free: 12.99 MB / 1.17 GB Notification: Performance of SimCode: time 9.92e-07/0.5997, allocations: 0 / 1.468 GB, free: 12.99 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0407/0.6404, allocations: 12.7 MB / 1.481 GB, free: 0.6953 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.88, allocations: 10.89 kB / 1.481 GB, free: 0.6875 MB / 1.17 GB " [Timeout remaining time 287] (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/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: 19.86476694094017]