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.001221/0.001221, allocations: 119.5 kB / 17.17 MB, free: 5.977 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.001304/0.001304, allocations: 205.5 kB / 20.13 MB, free: 3.039 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.42/1.42, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.923/2.923, allocations: 0.5003 GB / 0.8026 GB, free: 6.746 MB / 0.6387 GB " [Timeout remaining time 176] 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.001924/0.001924, allocations: 71.89 kB / 1.165 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8355/0.8374, allocations: 178.9 MB / 1.34 GB, free: 16.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2165/1.054, allocations: 183 MB / 1.519 GB, free: 1.164 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01047/1.064, allocations: 7.886 MB / 1.527 GB, free: 9.254 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005829/1.065, allocations: 31.75 kB / 1.527 GB, free: 9.223 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0006727/1.066, allocations: 242.2 kB / 1.527 GB, free: 8.984 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002956/1.069, allocations: 1.256 MB / 1.528 GB, free: 7.723 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001725/1.07, allocations: 0.7441 MB / 1.529 GB, free: 6.98 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001347/1.072, allocations: 1.072 MB / 1.53 GB, free: 5.906 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005664/1.072, allocations: 341.5 kB / 1.53 GB, free: 5.57 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002752/1.075, allocations: 1.005 MB / 1.531 GB, free: 4.574 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006767/1.076, allocations: 450.4 kB / 1.532 GB, free: 4.133 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 7.089e-05/1.076, allocations: 40 kB / 1.532 GB, free: 4.094 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001771/1.078, allocations: 0.9899 MB / 1.533 GB, free: 3.102 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001853/1.078, allocations: 163.5 kB / 1.533 GB, free: 2.941 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0003002/1.078, allocations: 246.8 kB / 1.533 GB, free: 2.699 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001608/1.08, allocations: 0.946 MB / 1.534 GB, free: 1.75 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/1.08, allocations: 0 / 1.534 GB, free: 1.75 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.413e-06/1.08, allocations: 0 / 1.534 GB, free: 1.75 MB / 1.201 GB Notification: Performance of Transformations before backend: time 8.456e-06/1.08, allocations: 0 / 1.534 GB, free: 1.75 MB / 1.201 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.001281/1.081, allocations: 0.8173 MB / 1.535 GB, free: 0.8828 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/1.081, allocations: 8.031 kB / 1.535 GB, free: 0.875 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.881e-05/1.081, allocations: 16.88 kB / 1.535 GB, free: 0.8594 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.827e-05/1.081, allocations: 78.53 kB / 1.535 GB, free: 0.7734 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009217/1.082, allocations: 151.5 kB / 1.535 GB, free: 0.625 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005996/1.083, allocations: 403.7 kB / 1.535 GB, free: 192 kB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/1.083, allocations: 25 kB / 1.535 GB, free: 168 kB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.25e-05/1.083, allocations: 40 kB / 1.535 GB, free: 128 kB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007533/1.083, allocations: 450.4 kB / 1.536 GB, free: 15.66 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/1.083, allocations: 3.938 kB / 1.536 GB, free: 15.66 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/1.083, allocations: 16 kB / 1.536 GB, free: 15.64 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/1.083, allocations: 12 kB / 1.536 GB, free: 15.63 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006489/1.084, allocations: 327.7 kB / 1.536 GB, free: 15.31 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002202/1.086, allocations: 2.008 MB / 1.538 GB, free: 13.13 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004193/1.087, allocations: 222.5 kB / 1.538 GB, free: 12.9 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002597/1.087, allocations: 136.8 kB / 1.538 GB, free: 12.77 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006087/1.088, allocations: 315.2 kB / 1.539 GB, free: 12.4 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/1.088, allocations: 38.97 kB / 1.539 GB, free: 12.36 MB / 1.217 GB Notification: Performance of pre-optimization done (n=24): time 1.933e-06/1.088, allocations: 0 / 1.539 GB, free: 12.36 MB / 1.217 GB Notification: Performance of matching and sorting (n=24): time 0.001101/1.089, allocations: 463.1 kB / 1.539 GB, free: 11.9 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/1.089, allocations: 59.41 kB / 1.539 GB, free: 11.83 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004564/1.089, allocations: 398 kB / 1.54 GB, free: 11.43 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/1.089, allocations: 29.7 kB / 1.54 GB, free: 11.39 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/1.09, allocations: 236.5 kB / 1.54 GB, free: 11.16 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 7.882e-05/1.09, allocations: 79.27 kB / 1.54 GB, free: 11.08 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/1.09, allocations: 61.66 kB / 1.54 GB, free: 11.02 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001646/1.09, allocations: 350.7 kB / 1.54 GB, free: 10.66 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/1.09, allocations: 119.9 kB / 1.54 GB, free: 10.55 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003067/1.09, allocations: 183.2 kB / 1.541 GB, free: 10.34 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005348/1.091, allocations: 308.2 kB / 1.541 GB, free: 10.02 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.091, allocations: 0 / 1.541 GB, free: 10.02 MB / 1.217 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006896/1.092, allocations: 370.6 kB / 1.541 GB, free: 9.652 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/1.092, allocations: 8 kB / 1.541 GB, free: 9.645 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/1.092, allocations: 0 / 1.541 GB, free: 9.645 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/1.092, allocations: 4 kB / 1.541 GB, free: 9.641 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003039/1.092, allocations: 55.91 kB / 1.541 GB, free: 9.586 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/1.092, allocations: 4 kB / 1.541 GB, free: 9.582 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/1.092, allocations: 43.94 kB / 1.541 GB, free: 9.539 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.548e-05/1.092, allocations: 16 kB / 1.541 GB, free: 9.523 MB / 1.217 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.0001928/1.093, allocations: 170.2 kB / 1.542 GB, free: 9.348 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.669e-05/1.093, allocations: 47.7 kB / 1.542 GB, free: 9.301 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007329/1.093, allocations: 357 kB / 1.542 GB, free: 8.949 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/1.093, allocations: 4 kB / 1.542 GB, free: 8.945 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/1.093, allocations: 7.984 kB / 1.542 GB, free: 8.938 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/1.093, allocations: 7.938 kB / 1.542 GB, free: 8.93 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/1.095, allocations: 0.9333 MB / 1.543 GB, free: 7.918 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.095, allocations: 4 kB / 1.543 GB, free: 7.914 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/1.095, allocations: 55.84 kB / 1.543 GB, free: 7.859 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/1.095, allocations: 4 kB / 1.543 GB, free: 7.855 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/1.095, allocations: 8 kB / 1.543 GB, free: 7.848 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/1.095, allocations: 0 / 1.543 GB, free: 7.848 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.095, allocations: 4 kB / 1.543 GB, free: 7.844 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/1.096, allocations: 0.6408 MB / 1.544 GB, free: 7.168 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/1.096, allocations: 148.8 kB / 1.544 GB, free: 7.004 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.142e-05/1.096, allocations: 8 kB / 1.544 GB, free: 6.996 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/1.097, allocations: 11.98 kB / 1.544 GB, free: 6.984 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.59e-05/1.097, allocations: 15.92 kB / 1.544 GB, free: 6.969 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/1.097, allocations: 15.98 kB / 1.544 GB, free: 6.953 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003166/1.097, allocations: 279.1 kB / 1.544 GB, free: 6.684 MB / 1.217 GB Notification: Performance of sort global known variables: time 6e-08/1.097, allocations: 64 / 1.544 GB, free: 6.684 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004575/1.097, allocations: 119.8 kB / 1.544 GB, free: 6.566 MB / 1.217 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.001504/1.099, allocations: 1.218 MB / 1.545 GB, free: 5.301 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0006322/1.1, allocations: 287.5 kB / 1.546 GB, free: 5.02 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.1, allocations: 0 / 1.546 GB, free: 5.02 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003024/1.1, allocations: 143.8 kB / 1.546 GB, free: 4.879 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/1.101, allocations: 228.2 kB / 1.546 GB, free: 4.664 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005196/1.106, allocations: 3.796 MB / 1.55 GB, free: 0.7031 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/1.107, allocations: 0.8311 MB / 1.551 GB, free: 15.84 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0003386/1.107, allocations: 95.41 kB / 1.551 GB, free: 15.75 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002176/1.107, allocations: 135.4 kB / 1.551 GB, free: 15.61 MB / 1.232 GB Notification: Performance of SimCode: time 7.31e-07/1.107, allocations: 7.938 kB / 1.551 GB, free: 15.61 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0453/1.152, allocations: 11.77 MB / 1.562 GB, free: 4.098 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.629/9.781, allocations: 8.641 kB / 1.562 GB, free: 4.09 MB / 1.232 GB " [Timeout remaining time 290] (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: 15.96567608602345]