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.001529/0.001529, allocations: 108 kB / 15.61 MB, free: 148 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.001306/0.001306, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.457/1.457, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.397/2.397, allocations: 390.2 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 63.91 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6364/0.638, allocations: 140.4 MB / 0.9497 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1615/0.7996, allocations: 165.3 MB / 1.111 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.003046/0.8027, allocations: 1.557 MB / 1.113 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003632/0.8031, allocations: 11.94 kB / 1.113 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004908/0.8036, allocations: 142.9 kB / 1.113 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.8049, allocations: 465.8 kB / 1.113 GB, free: 9.797 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.8068, allocations: 0.7551 MB / 1.114 GB, free: 9.043 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0007845/0.8076, allocations: 0.7098 MB / 1.115 GB, free: 8.328 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004003/0.808, allocations: 254.7 kB / 1.115 GB, free: 8.086 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005771/0.8086, allocations: 314.8 kB / 1.115 GB, free: 7.777 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002925/0.8089, allocations: 223.1 kB / 1.115 GB, free: 7.559 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.199e-05/0.8089, allocations: 24 kB / 1.115 GB, free: 7.535 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001458/0.8104, allocations: 0.8691 MB / 1.116 GB, free: 6.664 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.8105, allocations: 111.7 kB / 1.116 GB, free: 6.555 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.8107, allocations: 155.3 kB / 1.117 GB, free: 6.402 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.8119, allocations: 0.7286 MB / 1.117 GB, free: 5.672 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.8119, allocations: 0 / 1.117 GB, free: 5.672 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.986e-06/0.8119, allocations: 4 kB / 1.117 GB, free: 5.668 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.8119, allocations: 0 / 1.117 GB, free: 5.668 MB / 0.8731 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.001122/0.813, allocations: 0.674 MB / 1.118 GB, free: 4.941 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.8131, allocations: 12.03 kB / 1.118 GB, free: 4.93 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.301e-05/0.8132, allocations: 66.47 kB / 1.118 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005045/0.8137, allocations: 79.52 kB / 1.118 GB, free: 4.777 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.8141, allocations: 297.9 kB / 1.118 GB, free: 4.445 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.8141, allocations: 16.56 kB / 1.118 GB, free: 4.43 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.92e-05/0.8141, allocations: 28 kB / 1.118 GB, free: 4.402 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006459/0.8148, allocations: 332.2 kB / 1.119 GB, free: 4.062 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.8148, allocations: 0 / 1.119 GB, free: 4.062 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.004e-05/0.8149, allocations: 15.94 kB / 1.119 GB, free: 4.047 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.8149, allocations: 4 kB / 1.119 GB, free: 4.043 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007258/0.8156, allocations: 289.5 kB / 1.119 GB, free: 3.762 MB / 0.8731 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.001588/0.8172, allocations: 1.079 MB / 1.12 GB, free: 2.617 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000895/0.8181, allocations: 323.7 kB / 1.12 GB, free: 2.273 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/0.8185, allocations: 132.8 kB / 1.12 GB, free: 2.141 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006813/0.8191, allocations: 400.3 kB / 1.121 GB, free: 1.676 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.8192, allocations: 38.5 kB / 1.121 GB, free: 1.629 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 2.164e-06/0.8192, allocations: 0 / 1.121 GB, free: 1.629 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.001262/0.8205, allocations: 405.7 kB / 1.121 GB, free: 1.227 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.8205, allocations: 51.41 kB / 1.121 GB, free: 1.164 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.8208, allocations: 267 kB / 1.122 GB, free: 0.8906 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.8208, allocations: 25.7 kB / 1.122 GB, free: 0.8594 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.8209, allocations: 184 kB / 1.122 GB, free: 0.6758 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.433e-05/0.821, allocations: 63.09 kB / 1.122 GB, free: 0.6133 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-05/0.8211, allocations: 45.7 kB / 1.122 GB, free: 0.5625 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.8212, allocations: 334.8 kB / 1.122 GB, free: 232 kB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003141/0.8215, allocations: 103.9 kB / 1.122 GB, free: 128 kB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003871/0.8219, allocations: 171.1 kB / 1.122 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006645/0.8226, allocations: 276.1 kB / 1.123 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.8226, allocations: 0 / 1.123 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007872/0.8234, allocations: 317.1 kB / 1.123 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.8234, allocations: 8 kB / 1.123 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.8234, allocations: 0 / 1.123 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.8234, allocations: 7.938 kB / 1.123 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/0.8237, allocations: 60.05 kB / 1.123 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.8238, allocations: 4 kB / 1.123 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/0.824, allocations: 39.75 kB / 1.123 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.8241, allocations: 8 kB / 1.123 GB, free: 15.21 MB / 0.8887 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.0001955/0.8243, allocations: 153.8 kB / 1.123 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.334e-05/0.8244, allocations: 27.62 kB / 1.123 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008374/0.8252, allocations: 325.8 kB / 1.124 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.8252, allocations: 48 / 1.124 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.8253, allocations: 3.984 kB / 1.124 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.8253, allocations: 0 / 1.124 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.827, allocations: 0.9301 MB / 1.125 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.827, allocations: 4 kB / 1.125 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002682/0.8273, allocations: 51.97 kB / 1.125 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.236e-06/0.8273, allocations: 3.984 kB / 1.125 GB, free: 13.6 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.8273, allocations: 8 kB / 1.125 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.8273, allocations: 4 kB / 1.125 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.8273, allocations: 0 / 1.125 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.8284, allocations: 0.5588 MB / 1.125 GB, free: 13 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.8286, allocations: 128.6 kB / 1.125 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.438e-05/0.8286, allocations: 4 kB / 1.125 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.8289, allocations: 24.03 kB / 1.125 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.691e-05/0.829, allocations: 31.78 kB / 1.125 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.829, allocations: 12 kB / 1.125 GB, free: 12.78 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001666/0.8292, allocations: 190 kB / 1.126 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8292, allocations: 3.938 kB / 1.126 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004617/0.8296, allocations: 111.8 kB / 1.126 GB, free: 12.48 MB / 0.8887 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.001803/0.8315, allocations: 1.185 MB / 1.127 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0007778/0.8322, allocations: 262.1 kB / 1.127 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.8323, allocations: 0 / 1.127 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003806/0.8327, allocations: 145.5 kB / 1.127 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007967/0.8335, allocations: 134.5 kB / 1.127 GB, free: 10.74 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004547/0.838, allocations: 2.964 MB / 1.13 GB, free: 7.633 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.8384, allocations: 0.7792 MB / 1.131 GB, free: 6.828 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002716/0.8386, allocations: 74.22 kB / 1.131 GB, free: 6.754 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.8388, allocations: 87.41 kB / 1.131 GB, free: 6.668 MB / 0.8887 GB Notification: Performance of SimCode: time 4.31e-07/0.8388, allocations: 0 / 1.131 GB, free: 6.668 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02823/0.867, allocations: 8.868 MB / 1.14 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.588/8.455, allocations: 7.922 kB / 1.14 GB, free: 13.95 MB / 0.9044 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 & python3 -m fmpy simulate --output-file Buildings_9_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_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.csv","/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