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.004843/0.004843, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001164/0.001164, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.412/2.412, allocations: 437 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 64.12 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7983/0.7997, allocations: 151.6 MB / 1.166 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1701/0.9698, allocations: 165.3 MB / 1.328 GB, free: 13.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003057/0.973, allocations: 1.561 MB / 1.329 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003886/0.9734, allocations: 11.94 kB / 1.329 GB, free: 12.28 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000528/0.9739, allocations: 138.9 kB / 1.329 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001408/0.9754, allocations: 493.8 kB / 1.33 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002004/0.9774, allocations: 0.7743 MB / 1.33 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008906/0.9783, allocations: 0.6981 MB / 1.331 GB, free: 10.18 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004456/0.9788, allocations: 266.7 kB / 1.331 GB, free: 9.922 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006304/0.9794, allocations: 318.8 kB / 1.332 GB, free: 9.609 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003319/0.9797, allocations: 231.1 kB / 1.332 GB, free: 9.383 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.641e-05/0.9798, allocations: 24 kB / 1.332 GB, free: 9.359 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001588/0.9814, allocations: 0.8692 MB / 1.333 GB, free: 8.488 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001711/0.9816, allocations: 115.7 kB / 1.333 GB, free: 8.375 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001926/0.9818, allocations: 159.2 kB / 1.333 GB, free: 8.219 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001334/0.9831, allocations: 0.7397 MB / 1.334 GB, free: 7.48 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.9832, allocations: 0 / 1.334 GB, free: 7.48 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9832, allocations: 4 kB / 1.334 GB, free: 7.477 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.9832, allocations: 0 / 1.334 GB, free: 7.477 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.001209/0.9844, allocations: 0.6849 MB / 1.334 GB, free: 6.738 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.9844, allocations: 8.922 kB / 1.334 GB, free: 6.73 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.287e-05/0.9845, allocations: 58.48 kB / 1.335 GB, free: 6.664 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005372/0.9851, allocations: 95.64 kB / 1.335 GB, free: 6.57 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004759/0.9855, allocations: 310.1 kB / 1.335 GB, free: 6.23 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.9856, allocations: 24.56 kB / 1.335 GB, free: 6.207 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.258e-05/0.9856, allocations: 24 kB / 1.335 GB, free: 6.184 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006904/0.9863, allocations: 336.1 kB / 1.335 GB, free: 5.844 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.9864, allocations: 3.938 kB / 1.335 GB, free: 5.84 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.887e-05/0.9864, allocations: 7.938 kB / 1.335 GB, free: 5.832 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.9864, allocations: 15.98 kB / 1.335 GB, free: 5.816 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007393/0.9872, allocations: 281.5 kB / 1.336 GB, free: 5.539 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.001741/0.9889, allocations: 1.067 MB / 1.337 GB, free: 4.406 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009186/0.9898, allocations: 319.7 kB / 1.337 GB, free: 4.066 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003471/0.9902, allocations: 136.7 kB / 1.337 GB, free: 3.93 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006864/0.9909, allocations: 396.3 kB / 1.337 GB, free: 3.469 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.9909, allocations: 38.56 kB / 1.337 GB, free: 3.422 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 2.215e-06/0.9909, allocations: 4 kB / 1.337 GB, free: 3.418 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001309/0.9923, allocations: 407.3 kB / 1.338 GB, free: 3.016 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.9923, allocations: 59.41 kB / 1.338 GB, free: 2.945 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.9926, allocations: 263 kB / 1.338 GB, free: 2.684 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.9926, allocations: 33.7 kB / 1.338 GB, free: 2.645 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.9928, allocations: 168.3 kB / 1.338 GB, free: 2.477 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.489e-05/0.9928, allocations: 67.44 kB / 1.338 GB, free: 2.41 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-05/0.9929, allocations: 45.7 kB / 1.338 GB, free: 2.359 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.9931, allocations: 334.8 kB / 1.339 GB, free: 2.023 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003207/0.9934, allocations: 107.8 kB / 1.339 GB, free: 1.918 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003642/0.9938, allocations: 168.6 kB / 1.339 GB, free: 1.734 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006572/0.9944, allocations: 274.8 kB / 1.339 GB, free: 1.449 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.9945, allocations: 0 / 1.339 GB, free: 1.449 MB / 1.061 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008026/0.9953, allocations: 313.4 kB / 1.34 GB, free: 1.137 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.9953, allocations: 8 kB / 1.34 GB, free: 1.129 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.9953, allocations: 4 kB / 1.34 GB, free: 1.125 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.9953, allocations: 3.938 kB / 1.34 GB, free: 1.121 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.9956, allocations: 59.89 kB / 1.34 GB, free: 1.062 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.9957, allocations: 3.938 kB / 1.34 GB, free: 1.059 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003071/0.996, allocations: 43.75 kB / 1.34 GB, free: 1.016 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-05/0.996, allocations: 12 kB / 1.34 GB, free: 1.004 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.0001907/0.9962, allocations: 153.8 kB / 1.34 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.617e-05/0.9963, allocations: 27.84 kB / 1.34 GB, free: 0.8164 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008497/0.9972, allocations: 317.5 kB / 1.34 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.9972, allocations: 4 kB / 1.34 GB, free: 500 kB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.9972, allocations: 4 kB / 1.34 GB, free: 496 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.9972, allocations: 3.984 kB / 1.34 GB, free: 492 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.9988, allocations: 0.9213 MB / 1.341 GB, free: 15.45 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.9988, allocations: 0 / 1.341 GB, free: 15.45 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002829/0.9991, allocations: 51.89 kB / 1.341 GB, free: 15.4 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.9991, allocations: 4 kB / 1.341 GB, free: 15.4 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.9992, allocations: 8.188 kB / 1.341 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.9992, allocations: 4 kB / 1.341 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.9992, allocations: 4 kB / 1.341 GB, free: 15.38 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/1, allocations: 0.5608 MB / 1.342 GB, free: 14.79 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/1.001, allocations: 132.9 kB / 1.342 GB, free: 14.64 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.899e-05/1.001, allocations: 16 kB / 1.342 GB, free: 14.62 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/1.001, allocations: 23.97 kB / 1.342 GB, free: 14.6 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.736e-05/1.001, allocations: 23.86 kB / 1.342 GB, free: 14.58 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/1.001, allocations: 12 kB / 1.342 GB, free: 14.57 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001781/1.001, allocations: 193.9 kB / 1.342 GB, free: 14.38 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.41e-07/1.001, allocations: 0 / 1.342 GB, free: 14.38 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004541/1.002, allocations: 107.8 kB / 1.342 GB, free: 14.27 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.001762/1.003, allocations: 1.191 MB / 1.343 GB, free: 13.05 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007523/1.004, allocations: 265.9 kB / 1.344 GB, free: 12.79 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.004, allocations: 4.062 kB / 1.344 GB, free: 12.79 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003683/1.005, allocations: 137.5 kB / 1.344 GB, free: 12.65 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008775/1.005, allocations: 130.2 kB / 1.344 GB, free: 12.53 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004329/1.01, allocations: 2.964 MB / 1.347 GB, free: 9.422 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/1.01, allocations: 0.7908 MB / 1.348 GB, free: 8.605 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000255/1.01, allocations: 62.25 kB / 1.348 GB, free: 8.543 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/1.011, allocations: 95.39 kB / 1.348 GB, free: 8.449 MB / 1.076 GB Notification: Performance of SimCode: time 9.62e-07/1.011, allocations: 0 / 1.348 GB, free: 8.449 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04332/1.054, allocations: 8.94 MB / 1.356 GB, free: 15.68 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.018/9.071, allocations: 24.72 kB / 1.356 GB, free: 15.66 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 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.csv","/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