Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004344/0.004344, allocations: 101 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001194, allocations: 200.8 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.541/2.541, allocations: 482.6 MB / 0.755 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 67.83 kB / 1.083 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.258, allocations: 162.3 MB / 1.242 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.6327/0.8907, allocations: 165.3 MB / 1.403 GB, free: 9.75 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.002464/0.8932, allocations: 1.547 MB / 1.405 GB, free: 8.508 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001563/0.8934, allocations: 11 kB / 1.405 GB, free: 8.504 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0003627/0.8938, allocations: 142.7 kB / 1.405 GB, free: 8.379 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.000985/0.8947, allocations: 470.2 kB / 1.405 GB, free: 8.023 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.8962, allocations: 0.7539 MB / 1.406 GB, free: 7.473 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0006397/0.8969, allocations: 0.6968 MB / 1.407 GB, free: 7.074 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003421/0.8972, allocations: 264.9 kB / 1.407 GB, free: 6.918 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000713/0.8979, allocations: 460.8 kB / 1.408 GB, free: 6.645 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000246/0.8982, allocations: 221.8 kB / 1.408 GB, free: 6.512 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.8982, allocations: 24.41 kB / 1.408 GB, free: 6.512 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.8994, allocations: 0.8584 MB / 1.409 GB, free: 6.039 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.8996, allocations: 112.3 kB / 1.409 GB, free: 5.965 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.8997, allocations: 158.7 kB / 1.409 GB, free: 5.863 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0009204/0.9006, allocations: 0.7393 MB / 1.41 GB, free: 5.426 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.9007, allocations: 0 / 1.41 GB, free: 5.426 MB / 1.107 GB Notification: Performance of FrontEnd: time 9.62e-07/0.9007, allocations: 0 / 1.41 GB, free: 5.426 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.9007, allocations: 0 / 1.41 GB, free: 5.426 MB / 1.107 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.0009897/0.9017, allocations: 0.6951 MB / 1.41 GB, free: 4.812 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.9017, allocations: 10 kB / 1.41 GB, free: 4.812 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.152e-05/0.9018, allocations: 58.11 kB / 1.41 GB, free: 4.754 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004193/0.9022, allocations: 96.92 kB / 1.41 GB, free: 4.703 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.9026, allocations: 312.6 kB / 1.411 GB, free: 4.41 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.9026, allocations: 17.75 kB / 1.411 GB, free: 4.402 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.562e-05/0.9027, allocations: 23.94 kB / 1.411 GB, free: 4.395 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005995/0.9033, allocations: 340.2 kB / 1.411 GB, free: 4.184 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.9033, allocations: 0 / 1.411 GB, free: 4.184 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.9033, allocations: 6.344 kB / 1.411 GB, free: 4.18 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.9033, allocations: 9.188 kB / 1.411 GB, free: 4.176 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006659/0.904, allocations: 283.9 kB / 1.411 GB, free: 4.047 MB / 1.107 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.001427/0.9054, allocations: 1.069 MB / 1.412 GB, free: 3.168 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008023/0.9062, allocations: 320.1 kB / 1.413 GB, free: 2.953 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003102/0.9066, allocations: 139.4 kB / 1.413 GB, free: 2.883 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006059/0.9072, allocations: 391.2 kB / 1.413 GB, free: 2.477 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.9072, allocations: 40.67 kB / 1.413 GB, free: 2.43 MB / 1.107 GB Notification: Performance of pre-optimization done (n=19): time 1.212e-06/0.9072, allocations: 0 / 1.413 GB, free: 2.43 MB / 1.107 GB Notification: Performance of matching and sorting (n=19): time 0.001101/0.9083, allocations: 409.7 kB / 1.414 GB, free: 2.227 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.9084, allocations: 53.5 kB / 1.414 GB, free: 2.164 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002342/0.9086, allocations: 265.6 kB / 1.414 GB, free: 1.98 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.9086, allocations: 35.14 kB / 1.414 GB, free: 1.941 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.9088, allocations: 170.9 kB / 1.414 GB, free: 1.785 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 5.064e-05/0.9088, allocations: 64.5 kB / 1.414 GB, free: 1.73 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.793e-05/0.9089, allocations: 47.36 kB / 1.414 GB, free: 1.695 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.909, allocations: 337.4 kB / 1.415 GB, free: 1.363 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.9093, allocations: 103.3 kB / 1.415 GB, free: 1.316 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003195/0.9097, allocations: 171.4 kB / 1.415 GB, free: 1.195 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005854/0.9103, allocations: 264.3 kB / 1.415 GB, free: 1.039 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.9103, allocations: 2.344 kB / 1.415 GB, free: 1.039 MB / 1.107 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006838/0.911, allocations: 321.6 kB / 1.415 GB, free: 0.8711 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.911, allocations: 5.5 kB / 1.415 GB, free: 0.8711 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.911, allocations: 1.531 kB / 1.415 GB, free: 0.8711 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.911, allocations: 10.72 kB / 1.415 GB, free: 0.8633 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.9112, allocations: 58.11 kB / 1.415 GB, free: 0.8477 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.9113, allocations: 2.438 kB / 1.415 GB, free: 0.8477 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.9115, allocations: 44.12 kB / 1.416 GB, free: 0.8203 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.018e-05/0.9115, allocations: 11.59 kB / 1.416 GB, free: 0.8164 MB / 1.107 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.0001373/0.9117, allocations: 152.1 kB / 1.416 GB, free: 0.6758 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.891e-05/0.9117, allocations: 28.64 kB / 1.416 GB, free: 0.6602 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007315/0.9125, allocations: 317.3 kB / 1.416 GB, free: 492 kB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.9125, allocations: 6.594 kB / 1.416 GB, free: 488 kB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.9125, allocations: 0 / 1.416 GB, free: 488 kB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.9125, allocations: 7.922 kB / 1.416 GB, free: 480 kB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.9139, allocations: 0.9285 MB / 1.417 GB, free: 15.68 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.9139, allocations: 5.375 kB / 1.417 GB, free: 15.67 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/0.9141, allocations: 51.42 kB / 1.417 GB, free: 15.66 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.9142, allocations: 3.25 kB / 1.417 GB, free: 15.66 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.9142, allocations: 7.156 kB / 1.417 GB, free: 15.65 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.9142, allocations: 2.125 kB / 1.417 GB, free: 15.65 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.9142, allocations: 2.188 kB / 1.417 GB, free: 15.65 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.9152, allocations: 0.5666 MB / 1.418 GB, free: 15.26 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.9153, allocations: 128.5 kB / 1.418 GB, free: 15.13 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.833e-05/0.9154, allocations: 6.531 kB / 1.418 GB, free: 15.13 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.9156, allocations: 28.09 kB / 1.418 GB, free: 15.11 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.169e-05/0.9157, allocations: 25.77 kB / 1.418 GB, free: 15.1 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.9157, allocations: 5.25 kB / 1.418 GB, free: 15.1 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001623/0.9159, allocations: 196.7 kB / 1.418 GB, free: 14.96 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9159, allocations: 1.562 kB / 1.418 GB, free: 14.96 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0003677/0.9163, allocations: 99.53 kB / 1.418 GB, free: 14.94 MB / 1.123 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.001557/0.9178, allocations: 1.196 MB / 1.419 GB, free: 13.98 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0006563/0.9185, allocations: 262.3 kB / 1.419 GB, free: 13.87 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.9185, allocations: 0 / 1.419 GB, free: 13.87 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003299/0.9188, allocations: 140.6 kB / 1.42 GB, free: 13.8 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006531/0.9195, allocations: 143.9 kB / 1.42 GB, free: 13.73 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003783/0.9233, allocations: 2.973 MB / 1.423 GB, free: 11.5 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.9236, allocations: 0.7895 MB / 1.423 GB, free: 10.75 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001815/0.9238, allocations: 64.11 kB / 1.423 GB, free: 10.72 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.924, allocations: 93.47 kB / 1.424 GB, free: 10.65 MB / 1.123 GB Notification: Performance of SimCode: time 2.3e-07/0.924, allocations: 0 / 1.424 GB, free: 10.65 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3931/1.317, allocations: 8.95 MB / 1.432 GB, free: 3.742 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.62/15.93, allocations: 5.812 kB / 1.432 GB, free: 3.738 MB / 1.123 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches