Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001499/0.001499, allocations: 116.1 kB / 17.17 MB, free: 6 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.001718/0.001718, allocations: 209.6 kB / 20.13 MB, free: 3.055 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.439/1.439, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.764/2.764, allocations: 0.49 GB / 0.7923 GB, free: 1.301 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.RelativeHumidity,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_12_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.002005/0.002005, allocations: 67.91 kB / 1.15 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9181/0.9201, allocations: 176.1 MB / 1.321 GB, free: 24.72 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.2023/1.122, allocations: 168.7 MB / 1.486 GB, free: 12.4 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003472/1.126, allocations: 1.545 MB / 1.488 GB, free: 11.16 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004817/1.126, allocations: 15.41 kB / 1.488 GB, free: 11.15 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005548/1.127, allocations: 147.4 kB / 1.488 GB, free: 11.02 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00144/1.128, allocations: 490.9 kB / 1.488 GB, free: 10.66 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00228/1.131, allocations: 0.7633 MB / 1.489 GB, free: 10.1 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001108/1.132, allocations: 0.7086 MB / 1.49 GB, free: 9.688 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005371/1.132, allocations: 239.6 kB / 1.49 GB, free: 9.539 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/1.133, allocations: 459.6 kB / 1.49 GB, free: 9.273 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004783/1.134, allocations: 241.4 kB / 1.491 GB, free: 9.125 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 7.643e-05/1.134, allocations: 24.41 kB / 1.491 GB, free: 9.125 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00186/1.136, allocations: 0.9083 MB / 1.492 GB, free: 8.613 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000183/1.136, allocations: 115.9 kB / 1.492 GB, free: 8.535 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002688/1.136, allocations: 163.6 kB / 1.492 GB, free: 8.43 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001515/1.138, allocations: 0.7437 MB / 1.493 GB, free: 7.984 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/1.138, allocations: 0 / 1.493 GB, free: 7.984 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.393e-06/1.138, allocations: 1.188 kB / 1.493 GB, free: 7.984 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.624e-05/1.138, allocations: 0 / 1.493 GB, free: 7.984 MB / 1.17 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.001599/1.139, allocations: 0.691 MB / 1.493 GB, free: 7.371 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/1.14, allocations: 13.55 kB / 1.493 GB, free: 7.367 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.442e-05/1.14, allocations: 6.312 kB / 1.493 GB, free: 7.367 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.351e-05/1.14, allocations: 62.5 kB / 1.493 GB, free: 7.305 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005444/1.14, allocations: 85.41 kB / 1.493 GB, free: 7.266 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000536/1.141, allocations: 315.8 kB / 1.494 GB, free: 6.969 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/1.141, allocations: 18.5 kB / 1.494 GB, free: 6.961 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.882e-05/1.141, allocations: 27.28 kB / 1.494 GB, free: 6.949 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000753/1.142, allocations: 336.7 kB / 1.494 GB, free: 6.742 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/1.142, allocations: 0 / 1.494 GB, free: 6.742 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.137e-05/1.142, allocations: 10.19 kB / 1.494 GB, free: 6.734 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/1.142, allocations: 5.406 kB / 1.494 GB, free: 6.734 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007883/1.142, allocations: 295.2 kB / 1.494 GB, free: 6.598 MB / 1.17 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.001936/1.144, allocations: 1.062 MB / 1.495 GB, free: 5.727 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009629/1.145, allocations: 313.5 kB / 1.496 GB, free: 5.512 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003476/1.146, allocations: 127 kB / 1.496 GB, free: 5.449 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007189/1.146, allocations: 395.3 kB / 1.496 GB, free: 5.039 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/1.146, allocations: 31.94 kB / 1.496 GB, free: 5 MB / 1.17 GB Notification: Performance of pre-optimization done (n=19): time 1.953e-06/1.146, allocations: 1.5 kB / 1.496 GB, free: 5 MB / 1.17 GB Notification: Performance of matching and sorting (n=19): time 0.001326/1.148, allocations: 413.2 kB / 1.497 GB, free: 4.793 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/1.148, allocations: 53.66 kB / 1.497 GB, free: 4.73 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003615/1.148, allocations: 269.1 kB / 1.497 GB, free: 4.547 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/1.148, allocations: 30.92 kB / 1.497 GB, free: 4.512 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/1.148, allocations: 179.3 kB / 1.497 GB, free: 4.344 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 7.834e-05/1.148, allocations: 71.36 kB / 1.497 GB, free: 4.281 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/1.148, allocations: 38.97 kB / 1.497 GB, free: 4.254 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001623/1.149, allocations: 341.3 kB / 1.498 GB, free: 3.918 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003211/1.149, allocations: 107.5 kB / 1.498 GB, free: 3.867 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003859/1.149, allocations: 161.7 kB / 1.498 GB, free: 3.754 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006628/1.15, allocations: 273.8 kB / 1.498 GB, free: 3.59 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.15, allocations: 0 / 1.498 GB, free: 3.59 MB / 1.17 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008093/1.151, allocations: 316.7 kB / 1.498 GB, free: 3.426 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/1.151, allocations: 5.5 kB / 1.498 GB, free: 3.426 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/1.151, allocations: 13.3 kB / 1.498 GB, free: 3.414 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/1.151, allocations: 3.312 kB / 1.498 GB, free: 3.414 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002824/1.151, allocations: 52.84 kB / 1.499 GB, free: 3.402 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/1.151, allocations: 6.25 kB / 1.499 GB, free: 3.398 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/1.151, allocations: 36.23 kB / 1.499 GB, free: 3.379 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-05/1.152, allocations: 10.73 kB / 1.499 GB, free: 3.375 MB / 1.17 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.0001833/1.152, allocations: 149.1 kB / 1.499 GB, free: 3.238 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.127e-05/1.152, allocations: 32.44 kB / 1.499 GB, free: 3.219 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008757/1.153, allocations: 322.7 kB / 1.499 GB, free: 3.031 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/1.153, allocations: 2.969 kB / 1.499 GB, free: 3.031 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/1.153, allocations: 0 / 1.499 GB, free: 3.031 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/1.153, allocations: 5.219 kB / 1.499 GB, free: 3.027 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/1.154, allocations: 0.9247 MB / 1.5 GB, free: 2.094 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/1.154, allocations: 4 kB / 1.5 GB, free: 2.09 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002835/1.155, allocations: 56.02 kB / 1.5 GB, free: 2.035 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/1.155, allocations: 3.938 kB / 1.5 GB, free: 2.031 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/1.155, allocations: 4 kB / 1.5 GB, free: 2.027 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/1.155, allocations: 8.125 kB / 1.5 GB, free: 2.02 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.155, allocations: 4 kB / 1.5 GB, free: 2.016 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/1.156, allocations: 0.5625 MB / 1.501 GB, free: 1.418 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/1.156, allocations: 124.9 kB / 1.501 GB, free: 1.277 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.979e-05/1.156, allocations: 4.047 kB / 1.501 GB, free: 1.273 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/1.156, allocations: 32.02 kB / 1.501 GB, free: 1.242 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.556e-05/1.156, allocations: 27.84 kB / 1.501 GB, free: 1.215 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/1.157, allocations: 8 kB / 1.501 GB, free: 1.207 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002145/1.157, allocations: 194 kB / 1.501 GB, free: 1.02 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.01e-07/1.157, allocations: 0 / 1.501 GB, free: 1.02 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005927/1.157, allocations: 111.7 kB / 1.501 GB, free: 0.9102 MB / 1.17 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.002013/1.159, allocations: 1.18 MB / 1.502 GB, free: 15.69 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0008635/1.16, allocations: 251.8 kB / 1.502 GB, free: 15.45 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.16, allocations: 0 / 1.502 GB, free: 15.45 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003945/1.161, allocations: 140.5 kB / 1.503 GB, free: 15.31 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008712/1.161, allocations: 126.9 kB / 1.503 GB, free: 15.19 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005359/1.167, allocations: 2.984 MB / 1.506 GB, free: 12.05 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004881/1.167, allocations: 0.7792 MB / 1.506 GB, free: 11.25 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003232/1.168, allocations: 70.23 kB / 1.506 GB, free: 11.18 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/1.168, allocations: 87.41 kB / 1.507 GB, free: 11.09 MB / 1.186 GB Notification: Performance of SimCode: time 1.182e-06/1.168, allocations: 8 kB / 1.507 GB, free: 11.08 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03209/1.2, allocations: 9.018 MB / 1.515 GB, free: 2.262 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.538/9.738, allocations: 5 kB / 1.515 GB, free: 2.258 MB / 1.186 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.867085684963968]