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.008441/0.008441, allocations: 99.11 kB / 15.73 MB, free: 6.051 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.002016/0.002016, allocations: 202.6 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.548/1.548, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.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.824/2.824, allocations: 437 MB / 0.7105 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 59.91 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3021, allocations: 151.6 MB / 1.166 GB, free: 7.246 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.7944/1.097, allocations: 165.3 MB / 1.328 GB, free: 4.984 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003299/1.1, allocations: 1.552 MB / 1.329 GB, free: 3.902 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004877/1.1, allocations: 10.84 kB / 1.329 GB, free: 3.898 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005334/1.101, allocations: 142.6 kB / 1.329 GB, free: 3.801 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001481/1.102, allocations: 471.7 kB / 1.33 GB, free: 3.551 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00256/1.105, allocations: 0.7514 MB / 1.33 GB, free: 3.184 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001303/1.106, allocations: 0.7022 MB / 1.331 GB, free: 2.871 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005156/1.107, allocations: 263.1 kB / 1.331 GB, free: 2.77 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007409/1.108, allocations: 312.5 kB / 1.332 GB, free: 2.637 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003496/1.108, allocations: 225.3 kB / 1.332 GB, free: 2.539 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.889e-05/1.108, allocations: 25.25 kB / 1.332 GB, free: 2.539 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002001/1.11, allocations: 0.8667 MB / 1.333 GB, free: 2.215 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001638/1.11, allocations: 109.7 kB / 1.333 GB, free: 2.172 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002032/1.11, allocations: 166.6 kB / 1.333 GB, free: 2.074 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001601/1.112, allocations: 0.7453 MB / 1.334 GB, free: 1.824 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/1.112, allocations: 3.047 kB / 1.334 GB, free: 1.824 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.693e-06/1.112, allocations: 0 / 1.334 GB, free: 1.824 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.066e-05/1.112, allocations: 0 / 1.334 GB, free: 1.824 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.001539/1.114, allocations: 0.6842 MB / 1.334 GB, free: 1.266 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/1.114, allocations: 9.281 kB / 1.334 GB, free: 1.266 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.085e-05/1.114, allocations: 64.36 kB / 1.334 GB, free: 1.211 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005611/1.114, allocations: 87.39 kB / 1.335 GB, free: 1.184 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005148/1.115, allocations: 320.5 kB / 1.335 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/1.115, allocations: 14.59 kB / 1.335 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.288e-05/1.115, allocations: 23.84 kB / 1.335 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008622/1.116, allocations: 329.3 kB / 1.335 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/1.116, allocations: 7.938 kB / 1.335 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/1.116, allocations: 10.44 kB / 1.335 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/1.116, allocations: 18.11 kB / 1.335 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008832/1.117, allocations: 278 kB / 1.336 GB, free: 0.668 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.00198/1.119, allocations: 1.076 MB / 1.337 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009125/1.12, allocations: 320.6 kB / 1.337 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003592/1.12, allocations: 134.2 kB / 1.337 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007474/1.121, allocations: 391.4 kB / 1.337 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/1.121, allocations: 37.28 kB / 1.337 GB, free: 15.31 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 3.055e-06/1.121, allocations: 0 / 1.337 GB, free: 15.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001323/1.122, allocations: 413.7 kB / 1.338 GB, free: 15.17 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/1.122, allocations: 53.97 kB / 1.338 GB, free: 15.11 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/1.123, allocations: 265 kB / 1.338 GB, free: 14.96 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/1.123, allocations: 34.89 kB / 1.338 GB, free: 14.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/1.123, allocations: 171.1 kB / 1.338 GB, free: 14.78 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.468e-05/1.123, allocations: 73.48 kB / 1.338 GB, free: 14.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/1.123, allocations: 44.39 kB / 1.338 GB, free: 14.7 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001869/1.123, allocations: 340.6 kB / 1.339 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/1.124, allocations: 104.8 kB / 1.339 GB, free: 14.35 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003855/1.124, allocations: 159.6 kB / 1.339 GB, free: 14.26 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006674/1.125, allocations: 271.3 kB / 1.339 GB, free: 14.14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/1.125, allocations: 1.188 kB / 1.339 GB, free: 14.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000779/1.125, allocations: 315.6 kB / 1.34 GB, free: 14.02 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/1.126, allocations: 9.766 kB / 1.34 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.126, allocations: 1.156 kB / 1.34 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/1.126, allocations: 6.25 kB / 1.34 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/1.126, allocations: 61.2 kB / 1.34 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/1.126, allocations: 2.438 kB / 1.34 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002734/1.126, allocations: 47.53 kB / 1.34 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/1.126, allocations: 9.219 kB / 1.34 GB, free: 13.99 MB / 1.029 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.0001757/1.126, allocations: 148.2 kB / 1.34 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.922e-05/1.126, allocations: 27.19 kB / 1.34 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007979/1.127, allocations: 317.9 kB / 1.34 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/1.127, allocations: 5.219 kB / 1.34 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.127, allocations: 1.531 kB / 1.34 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/1.127, allocations: 1.922 kB / 1.34 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001637/1.129, allocations: 0.9235 MB / 1.341 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/1.129, allocations: 3.031 kB / 1.341 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002627/1.129, allocations: 58.02 kB / 1.341 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/1.129, allocations: 2.406 kB / 1.341 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/1.129, allocations: 4.188 kB / 1.341 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/1.129, allocations: 2.188 kB / 1.341 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.129, allocations: 6.594 kB / 1.341 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/1.13, allocations: 0.5628 MB / 1.342 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/1.131, allocations: 138.3 kB / 1.342 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.736e-05/1.131, allocations: 5.688 kB / 1.342 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/1.131, allocations: 26.08 kB / 1.342 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.927e-05/1.131, allocations: 23.2 kB / 1.342 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/1.131, allocations: 7.344 kB / 1.342 GB, free: 12.58 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000199/1.131, allocations: 198.6 kB / 1.342 GB, free: 12.46 MB / 1.029 GB Notification: Performance of sort global known variables: time 5.11e-07/1.131, allocations: 1.688 kB / 1.342 GB, free: 12.46 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004993/1.132, allocations: 106.6 kB / 1.342 GB, free: 12.44 MB / 1.029 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.001907/1.134, allocations: 1.194 MB / 1.343 GB, free: 11.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008082/1.134, allocations: 261.8 kB / 1.344 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.134, allocations: 1.438 kB / 1.344 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003683/1.135, allocations: 137 kB / 1.344 GB, free: 11.47 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000786/1.136, allocations: 140.7 kB / 1.344 GB, free: 11.42 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004658/1.14, allocations: 2.962 MB / 1.347 GB, free: 9.488 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/1.141, allocations: 0.7853 MB / 1.348 GB, free: 8.777 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002786/1.141, allocations: 68.16 kB / 1.348 GB, free: 8.758 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/1.141, allocations: 90.48 kB / 1.348 GB, free: 8.695 MB / 1.029 GB Notification: Performance of SimCode: time 1.012e-06/1.141, allocations: 0 / 1.348 GB, free: 8.695 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03473/1.176, allocations: 8.946 MB / 1.356 GB, free: 5.945 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.541/9.717, allocations: 16.88 kB / 1.356 GB, free: 5.93 MB / 1.029 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