Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.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.001477/0.001477, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001596/0.001596, allocations: 215 kB / 20.13 MB, free: 2.949 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.556/1.556, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.835/2.835, allocations: 476.7 MB / 0.7678 GB, free: 9.383 MB / 0.6075 GB " [Timeout remaining time 176] 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.RelativeHumidity,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_RelativeHumidity",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.002228/0.002228, allocations: 59.91 kB / 1.113 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.104/1.106, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.2363/1.342, allocations: 168.7 MB / 1.444 GB, free: 3.234 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.003059/1.346, allocations: 1.554 MB / 1.445 GB, free: 1.68 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002983/1.346, allocations: 15.88 kB / 1.445 GB, free: 1.664 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005029/1.346, allocations: 142.9 kB / 1.445 GB, free: 1.523 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001279/1.348, allocations: 493.8 kB / 1.446 GB, free: 1.039 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002013/1.35, allocations: 0.767 MB / 1.447 GB, free: 276 kB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0008931/1.35, allocations: 0.6981 MB / 1.447 GB, free: 15.57 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003922/1.351, allocations: 228.6 kB / 1.447 GB, free: 15.35 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000544/1.351, allocations: 326.8 kB / 1.448 GB, free: 15.03 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000299/1.352, allocations: 243 kB / 1.448 GB, free: 14.79 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 4.094e-05/1.352, allocations: 24 kB / 1.448 GB, free: 14.77 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0016/1.353, allocations: 0.9197 MB / 1.449 GB, free: 13.84 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001807/1.354, allocations: 119.6 kB / 1.449 GB, free: 13.73 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001802/1.354, allocations: 155.3 kB / 1.449 GB, free: 13.57 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001281/1.355, allocations: 0.7475 MB / 1.45 GB, free: 12.82 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/1.355, allocations: 0 / 1.45 GB, free: 12.82 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.543e-06/1.355, allocations: 0 / 1.45 GB, free: 12.82 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.378e-05/1.355, allocations: 3.938 kB / 1.45 GB, free: 12.82 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001277/1.356, allocations: 0.6927 MB / 1.451 GB, free: 12.08 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/1.356, allocations: 8.031 kB / 1.451 GB, free: 12.07 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.515e-05/1.356, allocations: 8.562 kB / 1.451 GB, free: 12.06 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.716e-05/1.356, allocations: 58.48 kB / 1.451 GB, free: 11.99 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005327/1.357, allocations: 79.75 kB / 1.451 GB, free: 11.91 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004815/1.357, allocations: 321.9 kB / 1.451 GB, free: 11.56 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/1.357, allocations: 24.5 kB / 1.451 GB, free: 11.54 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.577e-05/1.358, allocations: 24 kB / 1.451 GB, free: 11.52 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007137/1.358, allocations: 332.2 kB / 1.451 GB, free: 11.18 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/1.358, allocations: 0 / 1.451 GB, free: 11.18 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/1.358, allocations: 7.938 kB / 1.451 GB, free: 11.17 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/1.358, allocations: 8 kB / 1.451 GB, free: 11.16 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007605/1.359, allocations: 289.5 kB / 1.452 GB, free: 10.88 MB / 1.139 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.001707/1.361, allocations: 1.067 MB / 1.453 GB, free: 9.75 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009544/1.362, allocations: 311.6 kB / 1.453 GB, free: 9.418 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003439/1.362, allocations: 128.8 kB / 1.453 GB, free: 9.289 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007128/1.363, allocations: 396.3 kB / 1.454 GB, free: 8.828 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/1.363, allocations: 30.56 kB / 1.454 GB, free: 8.789 MB / 1.139 GB Notification: Performance of pre-optimization done (n=19): time 1.874e-06/1.363, allocations: 0 / 1.454 GB, free: 8.789 MB / 1.139 GB Notification: Performance of matching and sorting (n=19): time 0.001295/1.364, allocations: 409.1 kB / 1.454 GB, free: 8.383 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/1.364, allocations: 55.36 kB / 1.454 GB, free: 8.316 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002883/1.364, allocations: 267 kB / 1.454 GB, free: 8.043 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/1.364, allocations: 29.7 kB / 1.454 GB, free: 8.008 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/1.365, allocations: 172.3 kB / 1.454 GB, free: 7.836 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 7.3e-05/1.365, allocations: 75.33 kB / 1.455 GB, free: 7.762 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/1.365, allocations: 41.7 kB / 1.455 GB, free: 7.715 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.365, allocations: 338.8 kB / 1.455 GB, free: 7.375 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003238/1.365, allocations: 103.9 kB / 1.455 GB, free: 7.273 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003784/1.366, allocations: 161.9 kB / 1.455 GB, free: 7.094 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006625/1.366, allocations: 262.8 kB / 1.455 GB, free: 6.82 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/1.366, allocations: 7.938 kB / 1.455 GB, free: 6.812 MB / 1.139 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007982/1.367, allocations: 319.2 kB / 1.456 GB, free: 6.496 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/1.367, allocations: 11.94 kB / 1.456 GB, free: 6.484 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/1.367, allocations: 4 kB / 1.456 GB, free: 6.48 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/1.367, allocations: 8 kB / 1.456 GB, free: 6.473 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/1.367, allocations: 60.11 kB / 1.456 GB, free: 6.414 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/1.367, allocations: 7.984 kB / 1.456 GB, free: 6.406 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000272/1.368, allocations: 35.86 kB / 1.456 GB, free: 6.371 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/1.368, allocations: 15.88 kB / 1.456 GB, free: 6.355 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (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 prepare postOptimizeDAE: time 0.00018/1.368, allocations: 145.8 kB / 1.456 GB, free: 6.203 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.63e-05/1.368, allocations: 27.81 kB / 1.456 GB, free: 6.176 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008834/1.369, allocations: 335.3 kB / 1.456 GB, free: 5.832 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.369, allocations: 0 / 1.456 GB, free: 5.832 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/1.369, allocations: 4 kB / 1.456 GB, free: 5.828 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/1.369, allocations: 0 / 1.456 GB, free: 5.828 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/1.371, allocations: 0.9305 MB / 1.457 GB, free: 4.793 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/1.371, allocations: 4 kB / 1.457 GB, free: 4.789 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/1.371, allocations: 47.97 kB / 1.457 GB, free: 4.742 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/1.371, allocations: 0 / 1.457 GB, free: 4.742 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/1.371, allocations: 7.984 kB / 1.457 GB, free: 4.734 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/1.371, allocations: 7.938 kB / 1.457 GB, free: 4.727 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.371, allocations: 0 / 1.457 GB, free: 4.727 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/1.372, allocations: 0.5641 MB / 1.458 GB, free: 4.129 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/1.372, allocations: 128.9 kB / 1.458 GB, free: 3.984 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.749e-05/1.372, allocations: 0 / 1.458 GB, free: 3.984 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/1.373, allocations: 23.97 kB / 1.458 GB, free: 3.961 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.186e-05/1.373, allocations: 27.98 kB / 1.458 GB, free: 3.934 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/1.373, allocations: 7.984 kB / 1.458 GB, free: 3.926 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.000203/1.373, allocations: 194 kB / 1.458 GB, free: 3.738 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/1.373, allocations: 0 / 1.458 GB, free: 3.738 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005063/1.373, allocations: 115.7 kB / 1.458 GB, free: 3.625 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (relHum.phi) * 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 (19): * Single equations (assignments): 19 * 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.001833/1.375, allocations: 1.188 MB / 1.46 GB, free: 2.395 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0007727/1.376, allocations: 243.7 kB / 1.46 GB, free: 2.156 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.376, allocations: 4 kB / 1.46 GB, free: 2.152 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003704/1.376, allocations: 129.8 kB / 1.46 GB, free: 2.027 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007921/1.377, allocations: 142.3 kB / 1.46 GB, free: 1.895 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00464/1.382, allocations: 2.997 MB / 1.463 GB, free: 14.75 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/1.382, allocations: 0.7831 MB / 1.464 GB, free: 13.94 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002356/1.382, allocations: 58.25 kB / 1.464 GB, free: 13.88 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/1.383, allocations: 91.41 kB / 1.464 GB, free: 13.79 MB / 1.154 GB Notification: Performance of SimCode: time 5.71e-07/1.383, allocations: 0 / 1.464 GB, free: 13.79 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0298/1.412, allocations: 9.023 MB / 1.473 GB, free: 4.961 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.849/10.26, allocations: 6.594 kB / 1.473 GB, free: 4.957 MB / 1.154 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.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.78589923697291]