Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001598/0.001598, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001958/0.001958, allocations: 217.8 kB / 22.24 MB, free: 5.258 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.347/1.347, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.967/2.967, allocations: 0.49 GB / 0.7951 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",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.002112/0.002112, allocations: 69.17 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3237, allocations: 176.1 MB / 1.326 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.194/0.5177, allocations: 158.5 MB / 1.481 GB, free: 2.379 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01021/0.5279, allocations: 7.21 MB / 1.488 GB, free: 11.15 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005597/0.5285, allocations: 23.81 kB / 1.488 GB, free: 11.12 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0007886/0.5293, allocations: 250.2 kB / 1.488 GB, free: 10.88 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0033/0.5326, allocations: 1.221 MB / 1.489 GB, free: 9.652 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0019/0.5345, allocations: 0.7628 MB / 1.49 GB, free: 8.891 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001337/0.5358, allocations: 1.091 MB / 1.491 GB, free: 7.797 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005225/0.5363, allocations: 329.7 kB / 1.491 GB, free: 7.461 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002908/0.5392, allocations: 1.016 MB / 1.492 GB, free: 6.453 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007398/0.54, allocations: 446.4 kB / 1.493 GB, free: 6.016 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 7.41e-05/0.54, allocations: 36 kB / 1.493 GB, free: 5.98 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001617/0.5417, allocations: 0.7988 MB / 1.494 GB, free: 5.18 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001941/0.5418, allocations: 159.5 kB / 1.494 GB, free: 5.023 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002422/0.5421, allocations: 199.1 kB / 1.494 GB, free: 4.828 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.5435, allocations: 0.9226 MB / 1.495 GB, free: 3.902 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5435, allocations: 0 / 1.495 GB, free: 3.902 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.203e-06/0.5435, allocations: 0 / 1.495 GB, free: 3.902 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.5435, allocations: 4 kB / 1.495 GB, free: 3.898 MB / 1.186 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.001195/0.5447, allocations: 0.7469 MB / 1.496 GB, free: 3.121 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.5447, allocations: 8.031 kB / 1.496 GB, free: 3.113 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.662e-05/0.5448, allocations: 78.47 kB / 1.496 GB, free: 3.027 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009232/0.5457, allocations: 159.5 kB / 1.496 GB, free: 2.871 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006352/0.5464, allocations: 336.5 kB / 1.496 GB, free: 2.516 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.5464, allocations: 25 kB / 1.496 GB, free: 2.492 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.861e-05/0.5465, allocations: 40 kB / 1.496 GB, free: 2.453 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007589/0.5472, allocations: 450.4 kB / 1.497 GB, free: 1.984 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.5472, allocations: 3.938 kB / 1.497 GB, free: 1.98 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.034e-05/0.5473, allocations: 23.92 kB / 1.497 GB, free: 1.957 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.5473, allocations: 8 kB / 1.497 GB, free: 1.949 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006111/0.5479, allocations: 319.8 kB / 1.497 GB, free: 1.641 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/0.55, allocations: 1.493 MB / 1.498 GB, free: 84 kB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004319/0.5504, allocations: 223.8 kB / 1.499 GB, free: 15.86 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.5507, allocations: 136.8 kB / 1.499 GB, free: 15.72 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005067/0.5512, allocations: 83.89 kB / 1.499 GB, free: 15.64 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.5512, allocations: 30.56 kB / 1.499 GB, free: 15.6 MB / 1.201 GB Notification: Performance of pre-optimization done (n=24): time 1.563e-06/0.5512, allocations: 0 / 1.499 GB, free: 15.6 MB / 1.201 GB Notification: Performance of matching and sorting (n=24): time 0.001033/0.5522, allocations: 455.3 kB / 1.499 GB, free: 15.15 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.5523, allocations: 59.41 kB / 1.499 GB, free: 15.08 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004228/0.5527, allocations: 397.9 kB / 1.5 GB, free: 14.68 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/0.5528, allocations: 33.7 kB / 1.5 GB, free: 14.64 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.553, allocations: 236.5 kB / 1.5 GB, free: 14.41 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 7.351e-05/0.553, allocations: 79.28 kB / 1.5 GB, free: 14.33 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.5531, allocations: 73.5 kB / 1.5 GB, free: 14.25 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.5533, allocations: 354.7 kB / 1.5 GB, free: 13.89 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.5535, allocations: 107.9 kB / 1.501 GB, free: 13.79 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003433/0.5539, allocations: 263.7 kB / 1.501 GB, free: 13.49 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005172/0.5544, allocations: 308.4 kB / 1.501 GB, free: 13.16 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5544, allocations: 0 / 1.501 GB, free: 13.16 MB / 1.201 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006507/0.555, allocations: 363.3 kB / 1.501 GB, free: 12.8 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.5551, allocations: 8 kB / 1.501 GB, free: 12.8 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.5551, allocations: 0 / 1.501 GB, free: 12.8 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.5551, allocations: 4 kB / 1.501 GB, free: 12.79 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/0.5554, allocations: 59.91 kB / 1.502 GB, free: 12.73 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.5554, allocations: 7.938 kB / 1.502 GB, free: 12.73 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.5556, allocations: 39.94 kB / 1.502 GB, free: 12.69 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/0.5557, allocations: 19.98 kB / 1.502 GB, free: 12.67 MB / 1.201 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.0001905/0.5559, allocations: 169.7 kB / 1.502 GB, free: 12.49 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.092e-05/0.5559, allocations: 43.72 kB / 1.502 GB, free: 12.45 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007192/0.5566, allocations: 365.1 kB / 1.502 GB, free: 12.08 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.5567, allocations: 4 kB / 1.502 GB, free: 12.08 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.5567, allocations: 0 / 1.502 GB, free: 12.08 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5567, allocations: 0 / 1.502 GB, free: 12.08 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001496/0.5582, allocations: 0.8792 MB / 1.503 GB, free: 11.13 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.5582, allocations: 4 kB / 1.503 GB, free: 11.12 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002522/0.5584, allocations: 51.91 kB / 1.503 GB, free: 11.07 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.5584, allocations: 7.938 kB / 1.503 GB, free: 11.07 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.5584, allocations: 8.219 kB / 1.503 GB, free: 11.06 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.5585, allocations: 7.938 kB / 1.503 GB, free: 11.05 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.5585, allocations: 4 kB / 1.503 GB, free: 11.05 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009727/0.5594, allocations: 0.6268 MB / 1.504 GB, free: 10.38 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/0.5596, allocations: 75.56 kB / 1.504 GB, free: 10.31 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.649e-05/0.5596, allocations: 8 kB / 1.504 GB, free: 10.3 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.5599, allocations: 11.98 kB / 1.504 GB, free: 10.29 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.362e-05/0.5599, allocations: 16.03 kB / 1.504 GB, free: 10.27 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.56, allocations: 16 kB / 1.504 GB, free: 10.26 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002973/0.5603, allocations: 283.1 kB / 1.504 GB, free: 9.988 MB / 1.201 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5603, allocations: 0 / 1.504 GB, free: 9.988 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004612/0.5607, allocations: 115.8 kB / 1.504 GB, free: 9.875 MB / 1.201 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.001459/0.5622, allocations: 1.218 MB / 1.505 GB, free: 8.613 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0005849/0.5628, allocations: 277.2 kB / 1.506 GB, free: 8.344 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.5628, allocations: 4 kB / 1.506 GB, free: 8.34 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002747/0.563, allocations: 146.2 kB / 1.506 GB, free: 8.199 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.5641, allocations: 222.9 kB / 1.506 GB, free: 7.977 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005028/0.5691, allocations: 3.812 MB / 1.51 GB, free: 4.004 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.5693, allocations: 220.1 kB / 1.51 GB, free: 3.762 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003159/0.5696, allocations: 103.4 kB / 1.51 GB, free: 3.66 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002111/0.5698, allocations: 135.4 kB / 1.51 GB, free: 3.531 MB / 1.201 GB Notification: Performance of SimCode: time 7.01e-07/0.5698, allocations: 0 / 1.51 GB, free: 3.531 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04678/0.6166, allocations: 13.17 MB / 1.523 GB, free: 6.707 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.32, allocations: 8.125 kB / 1.523 GB, free: 6.703 MB / 1.217 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.492421016009757]