Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_10_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.006103/0.006103, allocations: 102.5 kB / 15.73 MB, free: 6.066 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.001685/0.001685, allocations: 197.1 kB / 16.68 MB, free: 5.973 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.222/1.222, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.197/2.197, allocations: 437.1 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 63.89 kB / 1.018 GB, free: 9.871 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6087/0.6104, allocations: 151.6 MB / 1.166 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.16/0.7704, allocations: 165.3 MB / 1.328 GB, free: 13.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002411/0.7729, allocations: 1.559 MB / 1.329 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001862/0.7731, allocations: 11.94 kB / 1.329 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003687/0.7735, allocations: 142.9 kB / 1.329 GB, free: 12.15 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0009138/0.7744, allocations: 465.8 kB / 1.33 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.7759, allocations: 0.7586 MB / 1.33 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006725/0.7766, allocations: 0.6981 MB / 1.331 GB, free: 10.23 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003462/0.7769, allocations: 262.7 kB / 1.331 GB, free: 9.977 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004205/0.7774, allocations: 306.8 kB / 1.332 GB, free: 9.676 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002562/0.7776, allocations: 227.1 kB / 1.332 GB, free: 9.453 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.351e-05/0.7777, allocations: 24 kB / 1.332 GB, free: 9.43 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.7789, allocations: 0.8769 MB / 1.333 GB, free: 8.551 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.779, allocations: 107.7 kB / 1.333 GB, free: 8.445 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.7792, allocations: 163.2 kB / 1.333 GB, free: 8.285 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009259/0.7801, allocations: 0.7435 MB / 1.334 GB, free: 7.543 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.7801, allocations: 4 kB / 1.334 GB, free: 7.539 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7801, allocations: 0 / 1.334 GB, free: 7.539 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.7801, allocations: 0 / 1.334 GB, free: 7.539 MB / 1.061 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.000972/0.7811, allocations: 0.6849 MB / 1.334 GB, free: 6.801 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.7812, allocations: 12.92 kB / 1.334 GB, free: 6.789 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.754e-05/0.7812, allocations: 54.55 kB / 1.334 GB, free: 6.727 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004121/0.7816, allocations: 87.64 kB / 1.335 GB, free: 6.641 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/0.782, allocations: 325.9 kB / 1.335 GB, free: 6.285 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.7821, allocations: 20.56 kB / 1.335 GB, free: 6.266 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.647e-05/0.7821, allocations: 28 kB / 1.335 GB, free: 6.238 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006042/0.7827, allocations: 332.2 kB / 1.335 GB, free: 5.902 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.7827, allocations: 0 / 1.335 GB, free: 5.902 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.7828, allocations: 11.94 kB / 1.335 GB, free: 5.891 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.7828, allocations: 4 kB / 1.335 GB, free: 5.887 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006732/0.7835, allocations: 289.5 kB / 1.336 GB, free: 5.602 MB / 1.061 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.001446/0.7849, allocations: 1.06 MB / 1.337 GB, free: 4.477 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008214/0.7857, allocations: 331.6 kB / 1.337 GB, free: 4.125 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/0.7861, allocations: 132.8 kB / 1.337 GB, free: 3.992 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006123/0.7867, allocations: 396.3 kB / 1.337 GB, free: 3.531 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.7867, allocations: 34.56 kB / 1.337 GB, free: 3.488 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.223e-06/0.7867, allocations: 0 / 1.337 GB, free: 3.488 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001107/0.7878, allocations: 415.3 kB / 1.338 GB, free: 3.078 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.7879, allocations: 51.41 kB / 1.338 GB, free: 3.016 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.7881, allocations: 267 kB / 1.338 GB, free: 2.75 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.7882, allocations: 29.7 kB / 1.338 GB, free: 2.715 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.7883, allocations: 176.3 kB / 1.338 GB, free: 2.539 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.301e-05/0.7883, allocations: 67.44 kB / 1.338 GB, free: 2.473 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.866e-05/0.7884, allocations: 49.64 kB / 1.338 GB, free: 2.418 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.7886, allocations: 334.8 kB / 1.339 GB, free: 2.082 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000287/0.7888, allocations: 103.9 kB / 1.339 GB, free: 1.98 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000333/0.7892, allocations: 168.5 kB / 1.339 GB, free: 1.797 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005886/0.7898, allocations: 271 kB / 1.339 GB, free: 1.516 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.7898, allocations: 0 / 1.339 GB, free: 1.516 MB / 1.061 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006922/0.7905, allocations: 317.2 kB / 1.34 GB, free: 1.199 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.7905, allocations: 8 kB / 1.34 GB, free: 1.191 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.7905, allocations: 0 / 1.34 GB, free: 1.191 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.7905, allocations: 7.938 kB / 1.34 GB, free: 1.184 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.7908, allocations: 51.95 kB / 1.34 GB, free: 1.133 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.7908, allocations: 12.09 kB / 1.34 GB, free: 1.121 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.791, allocations: 43.75 kB / 1.34 GB, free: 1.078 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.791, allocations: 8 kB / 1.34 GB, free: 1.07 MB / 1.061 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.000133/0.7912, allocations: 149.8 kB / 1.34 GB, free: 0.9141 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.035e-05/0.7912, allocations: 23.86 kB / 1.34 GB, free: 0.8906 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007514/0.792, allocations: 333.4 kB / 1.34 GB, free: 0.5508 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.792, allocations: 0 / 1.34 GB, free: 0.5508 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.792, allocations: 0 / 1.34 GB, free: 0.5508 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.792, allocations: 0 / 1.34 GB, free: 0.5508 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.7934, allocations: 0.9252 MB / 1.341 GB, free: 15.52 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.7934, allocations: 8.188 kB / 1.341 GB, free: 15.51 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/0.7937, allocations: 55.91 kB / 1.341 GB, free: 15.46 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.7937, allocations: 0 / 1.341 GB, free: 15.46 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.7937, allocations: 11.98 kB / 1.341 GB, free: 15.45 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.7937, allocations: 4 kB / 1.341 GB, free: 15.44 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7937, allocations: 0 / 1.341 GB, free: 15.44 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.7948, allocations: 0.5646 MB / 1.342 GB, free: 14.84 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.7949, allocations: 128.8 kB / 1.342 GB, free: 14.7 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.7949, allocations: 4 kB / 1.342 GB, free: 14.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.7951, allocations: 23.97 kB / 1.342 GB, free: 14.67 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.7952, allocations: 19.92 kB / 1.342 GB, free: 14.65 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.7952, allocations: 16.05 kB / 1.342 GB, free: 14.64 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001643/0.7954, allocations: 197.9 kB / 1.342 GB, free: 14.45 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7954, allocations: 0 / 1.342 GB, free: 14.45 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003487/0.7958, allocations: 107.8 kB / 1.342 GB, free: 14.34 MB / 1.076 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.001598/0.7974, allocations: 1.198 MB / 1.343 GB, free: 13.11 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006586/0.798, allocations: 262 kB / 1.344 GB, free: 12.85 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.798, allocations: 0 / 1.344 GB, free: 12.85 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003325/0.7984, allocations: 137.5 kB / 1.344 GB, free: 12.72 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006526/0.799, allocations: 137.1 kB / 1.344 GB, free: 12.59 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003782/0.8028, allocations: 2.965 MB / 1.347 GB, free: 9.48 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.8032, allocations: 0.7753 MB / 1.348 GB, free: 8.68 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001812/0.8034, allocations: 62.25 kB / 1.348 GB, free: 8.617 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.8035, allocations: 87.41 kB / 1.348 GB, free: 8.531 MB / 1.076 GB Notification: Performance of SimCode: time 2.5e-07/0.8035, allocations: 0 / 1.348 GB, free: 8.531 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.675/2.478, allocations: 8.969 MB / 1.356 GB, free: 15.73 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/13.17, allocations: 12.48 kB / 1.356 GB, free: 15.72 MB / 1.092 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches