Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_9_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.006015/0.006015, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001349/0.001349, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.3/2.3, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 63.78 kB / 0.9504 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.264, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1618/0.4258, allocations: 165.3 MB / 1.249 GB, free: 12.09 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002488/0.4283, allocations: 1.555 MB / 1.25 GB, free: 10.52 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.4285, allocations: 11.94 kB / 1.25 GB, free: 10.51 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0004046/0.429, allocations: 142.9 kB / 1.251 GB, free: 10.37 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0009952/0.43, allocations: 465.8 kB / 1.251 GB, free: 9.914 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.4315, allocations: 0.7587 MB / 1.252 GB, free: 9.156 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000629/0.4322, allocations: 0.702 MB / 1.252 GB, free: 8.449 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003461/0.4325, allocations: 268.4 kB / 1.253 GB, free: 8.191 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004396/0.433, allocations: 310.8 kB / 1.253 GB, free: 7.887 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.4332, allocations: 227.1 kB / 1.253 GB, free: 7.664 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.919e-05/0.4333, allocations: 24 kB / 1.253 GB, free: 7.641 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001238/0.4345, allocations: 0.8691 MB / 1.254 GB, free: 6.77 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.4347, allocations: 111.7 kB / 1.254 GB, free: 6.66 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.4348, allocations: 163.2 kB / 1.254 GB, free: 6.5 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0009001/0.4357, allocations: 0.7363 MB / 1.255 GB, free: 5.762 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4357, allocations: 8 kB / 1.255 GB, free: 5.754 MB / 1.014 GB Notification: Performance of FrontEnd: time 9.52e-07/0.4358, allocations: 0 / 1.255 GB, free: 5.754 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.4358, allocations: 0 / 1.255 GB, free: 5.754 MB / 1.014 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.00104/0.4368, allocations: 0.6701 MB / 1.256 GB, free: 5.031 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.4369, allocations: 12.03 kB / 1.256 GB, free: 5.02 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.148e-05/0.4369, allocations: 58.55 kB / 1.256 GB, free: 4.953 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004679/0.4374, allocations: 87.5 kB / 1.256 GB, free: 4.867 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/0.4378, allocations: 309.8 kB / 1.256 GB, free: 4.527 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.4378, allocations: 24.56 kB / 1.256 GB, free: 4.504 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.754e-05/0.4379, allocations: 24 kB / 1.256 GB, free: 4.48 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006325/0.4385, allocations: 328.2 kB / 1.257 GB, free: 4.145 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.4386, allocations: 0 / 1.257 GB, free: 4.145 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/0.4386, allocations: 15.94 kB / 1.257 GB, free: 4.129 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.4386, allocations: 8 kB / 1.257 GB, free: 4.121 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000716/0.4393, allocations: 285.5 kB / 1.257 GB, free: 3.84 MB / 1.014 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.001537/0.4409, allocations: 1.063 MB / 1.258 GB, free: 2.715 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008742/0.4418, allocations: 319.7 kB / 1.258 GB, free: 2.375 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003302/0.4421, allocations: 132.8 kB / 1.258 GB, free: 2.242 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006372/0.4427, allocations: 392.3 kB / 1.259 GB, free: 1.785 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.4428, allocations: 38.56 kB / 1.259 GB, free: 1.738 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 1.453e-06/0.4428, allocations: 4 kB / 1.259 GB, free: 1.734 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.0012/0.444, allocations: 410.8 kB / 1.259 GB, free: 1.328 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.444, allocations: 55.41 kB / 1.259 GB, free: 1.262 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.4443, allocations: 271 kB / 1.259 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.4443, allocations: 33.64 kB / 1.259 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.4444, allocations: 172.1 kB / 1.26 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.896e-05/0.4445, allocations: 66.95 kB / 1.26 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.736e-05/0.4446, allocations: 45.7 kB / 1.26 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.4447, allocations: 334.8 kB / 1.26 GB, free: 336 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/0.445, allocations: 107.9 kB / 1.26 GB, free: 228 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003427/0.4453, allocations: 159.3 kB / 1.26 GB, free: 48 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5004/0.9458, allocations: 268.6 kB / 1.261 GB, free: 176.1 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/0.9458, allocations: 1.5 kB / 1.261 GB, free: 176.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008879/0.9467, allocations: 318 kB / 1.261 GB, free: 176 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.9467, allocations: 5.594 kB / 1.261 GB, free: 176 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.9468, allocations: 2.328 kB / 1.261 GB, free: 176 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.9468, allocations: 6.438 kB / 1.261 GB, free: 176 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003104/0.9471, allocations: 58.28 kB / 1.261 GB, free: 176 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.9471, allocations: 4.547 kB / 1.261 GB, free: 176 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/0.9474, allocations: 39.34 kB / 1.261 GB, free: 176 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.9474, allocations: 7.609 kB / 1.261 GB, free: 176 MB / 1.014 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.0001522/0.9476, allocations: 155.7 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.391e-05/0.9476, allocations: 27.89 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008177/0.9485, allocations: 322 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.9485, allocations: 3 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.9485, allocations: 0.5156 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.9485, allocations: 1.172 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.9501, allocations: 0.9291 MB / 1.262 GB, free: 175.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.9501, allocations: 1.438 kB / 1.262 GB, free: 175.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002846/0.9504, allocations: 56.81 kB / 1.262 GB, free: 175.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.9504, allocations: 3.297 kB / 1.262 GB, free: 175.4 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.9504, allocations: 4.219 kB / 1.262 GB, free: 175.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.9504, allocations: 3.266 kB / 1.262 GB, free: 175.4 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.9504, allocations: 5.562 kB / 1.262 GB, free: 175.4 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.9516, allocations: 0.5554 MB / 1.263 GB, free: 175.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.9517, allocations: 128.7 kB / 1.263 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.263e-05/0.9518, allocations: 7.844 kB / 1.263 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002389/0.952, allocations: 28.05 kB / 1.263 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.157e-05/0.9521, allocations: 25.42 kB / 1.263 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.9521, allocations: 8.531 kB / 1.263 GB, free: 175.1 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002001/0.9524, allocations: 193.2 kB / 1.263 GB, free: 175 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9524, allocations: 0 / 1.263 GB, free: 175 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004787/0.9528, allocations: 106.8 kB / 1.263 GB, free: 175 MB / 1.014 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.001694/0.9545, allocations: 1.201 MB / 1.265 GB, free: 174.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007528/0.9553, allocations: 261.1 kB / 1.265 GB, free: 174.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.9553, allocations: 0 / 1.265 GB, free: 174.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003737/0.9557, allocations: 137.5 kB / 1.265 GB, free: 174.2 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007513/0.9565, allocations: 133.1 kB / 1.265 GB, free: 174.2 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003989/0.9605, allocations: 2.96 MB / 1.268 GB, free: 172.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.9607, allocations: 0.7848 MB / 1.269 GB, free: 171.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002355/0.961, allocations: 68.16 kB / 1.269 GB, free: 171.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.9611, allocations: 88.91 kB / 1.269 GB, free: 171.6 MB / 1.014 GB Notification: Performance of SimCode: time 4.61e-07/0.9611, allocations: 0 / 1.269 GB, free: 171.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02901/0.9901, allocations: 8.953 MB / 1.278 GB, free: 170.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.825/9.815, allocations: 3.25 kB / 1.278 GB, free: 170.8 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches