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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001393/0.001393, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.266/1.266, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.613/2.613, allocations: 461.9 MB / 0.7346 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 65.81 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.222, allocations: 157.4 MB / 1.053 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1411/0.3631, allocations: 165.3 MB / 1.214 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002278/0.3654, allocations: 1.552 MB / 1.216 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002251/0.3657, allocations: 7.938 kB / 1.216 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003596/0.366, allocations: 146.9 kB / 1.216 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0009053/0.367, allocations: 469.8 kB / 1.216 GB, free: 256 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.3685, allocations: 0.7543 MB / 1.217 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006483/0.3691, allocations: 0.702 MB / 1.218 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003638/0.3695, allocations: 258.7 kB / 1.218 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004655/0.37, allocations: 310.8 kB / 1.218 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.3702, allocations: 227.1 kB / 1.219 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.413e-05/0.3703, allocations: 24 kB / 1.219 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001258/0.3716, allocations: 0.8613 MB / 1.219 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.3717, allocations: 111.7 kB / 1.22 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.3718, allocations: 155.3 kB / 1.22 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009161/0.3727, allocations: 0.7402 MB / 1.22 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3728, allocations: 0 / 1.22 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3728, allocations: 0 / 1.22 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.3728, allocations: 0 / 1.22 GB, free: 12.12 MB / 0.9825 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.000958/0.3737, allocations: 0.6779 MB / 1.221 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.3738, allocations: 8.625 kB / 1.221 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.201e-05/0.3738, allocations: 54.55 kB / 1.221 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004404/0.3743, allocations: 87.5 kB / 1.221 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.3746, allocations: 301.9 kB / 1.222 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.3747, allocations: 16.56 kB / 1.222 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/0.3747, allocations: 24 kB / 1.222 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005852/0.3753, allocations: 332.2 kB / 1.222 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3753, allocations: 0 / 1.222 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.3753, allocations: 23.92 kB / 1.222 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.3754, allocations: 11.94 kB / 1.222 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006634/0.376, allocations: 277.5 kB / 1.222 GB, free: 10.22 MB / 0.9825 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.001405/0.3774, allocations: 1.075 MB / 1.223 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008109/0.3783, allocations: 327.6 kB / 1.224 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002995/0.3786, allocations: 136.7 kB / 1.224 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005796/0.3792, allocations: 392.3 kB / 1.224 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.3792, allocations: 34.56 kB / 1.224 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 1.272e-06/0.3792, allocations: 0 / 1.224 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.001102/0.3803, allocations: 410.1 kB / 1.224 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.3803, allocations: 59.34 kB / 1.225 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.3806, allocations: 271 kB / 1.225 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.3806, allocations: 29.7 kB / 1.225 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.834e-05/0.3807, allocations: 168.2 kB / 1.225 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.161e-05/0.3808, allocations: 74.92 kB / 1.225 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.422e-05/0.3808, allocations: 41.7 kB / 1.225 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.267e-05/0.3809, allocations: 338.8 kB / 1.225 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/0.3812, allocations: 107.9 kB / 1.226 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/0.3815, allocations: 159.9 kB / 1.226 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000568/0.3821, allocations: 263.1 kB / 1.226 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.3821, allocations: 4 kB / 1.226 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006669/0.3828, allocations: 315 kB / 1.226 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.3828, allocations: 4 kB / 1.226 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.3828, allocations: 4.156 kB / 1.226 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.3829, allocations: 7.938 kB / 1.226 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.3831, allocations: 63.89 kB / 1.226 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.3831, allocations: 0 / 1.226 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.3834, allocations: 39.72 kB / 1.226 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.3834, allocations: 8 kB / 1.226 GB, free: 5.684 MB / 0.9825 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.0001217/0.3835, allocations: 153.8 kB / 1.226 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.304e-05/0.3836, allocations: 23.72 kB / 1.227 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007123/0.3843, allocations: 319.5 kB / 1.227 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3843, allocations: 4 kB / 1.227 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.3843, allocations: 0 / 1.227 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3843, allocations: 8.031 kB / 1.227 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.3857, allocations: 0.9323 MB / 1.228 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3857, allocations: 0 / 1.228 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.3859, allocations: 51.95 kB / 1.228 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.3859, allocations: 8 kB / 1.228 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.386, allocations: 8 kB / 1.228 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.386, allocations: 12.12 kB / 1.228 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.386, allocations: 0 / 1.228 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009873/0.387, allocations: 0.5524 MB / 1.228 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.3871, allocations: 136.6 kB / 1.228 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.3871, allocations: 12.05 kB / 1.228 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.3873, allocations: 19.98 kB / 1.229 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/0.3874, allocations: 23.91 kB / 1.229 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.3874, allocations: 8 kB / 1.229 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001443/0.3876, allocations: 194 kB / 1.229 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3876, allocations: 0 / 1.229 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003799/0.388, allocations: 107.8 kB / 1.229 GB, free: 2.965 MB / 0.9825 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.00145/0.3894, allocations: 1.184 MB / 1.23 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006519/0.3901, allocations: 271.6 kB / 1.23 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3901, allocations: 4.312 kB / 1.23 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003161/0.3904, allocations: 135.8 kB / 1.23 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006683/0.3911, allocations: 137.9 kB / 1.231 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003607/0.3947, allocations: 2.966 MB / 1.233 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.395, allocations: 0.7792 MB / 1.234 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002203/0.3952, allocations: 70.22 kB / 1.234 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.3954, allocations: 91.41 kB / 1.234 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/0.3954, allocations: 0 / 1.234 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.254/1.649, allocations: 8.874 MB / 1.243 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/12.31, allocations: 5.781 kB / 1.243 GB, free: 4.422 MB / 0.9981 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=50 --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