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.001272/0.001272, allocations: 108 kB / 15.6 MB, free: 132 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.001395/0.001395, allocations: 192 kB / 16.53 MB, free: 6.391 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.417/1.417, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.64/2.64, allocations: 437.1 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.91 kB / 0.8693 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6399/0.6411, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.174/0.8152, allocations: 165.3 MB / 1.179 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003179/0.8184, allocations: 1.559 MB / 1.18 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004732/0.8189, allocations: 11.94 kB / 1.18 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000569/0.8195, allocations: 138.9 kB / 1.18 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.821, allocations: 465.8 kB / 1.181 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.8229, allocations: 0.7666 MB / 1.182 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008013/0.8237, allocations: 0.6942 MB / 1.182 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004359/0.8241, allocations: 266.5 kB / 1.183 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006545/0.8248, allocations: 306.8 kB / 1.183 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003888/0.8252, allocations: 223.1 kB / 1.183 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.155e-05/0.8253, allocations: 28 kB / 1.183 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/0.827, allocations: 0.8691 MB / 1.184 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001794/0.8272, allocations: 115.6 kB / 1.184 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.8275, allocations: 155.2 kB / 1.184 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.8289, allocations: 0.7247 MB / 1.185 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.8289, allocations: 0 / 1.185 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.432e-06/0.8289, allocations: 0 / 1.185 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.655e-05/0.8289, allocations: 7.984 kB / 1.185 GB, free: 6.258 MB / 0.9356 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.001365/0.8303, allocations: 0.674 MB / 1.186 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.8304, allocations: 15.97 kB / 1.186 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.982e-05/0.8304, allocations: 58.55 kB / 1.186 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005946/0.831, allocations: 79.5 kB / 1.186 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005119/0.8316, allocations: 302 kB / 1.186 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.8316, allocations: 16.56 kB / 1.186 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.811e-05/0.8317, allocations: 24 kB / 1.186 GB, free: 5 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006936/0.8324, allocations: 332.1 kB / 1.186 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.8324, allocations: 0 / 1.186 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/0.8324, allocations: 15.94 kB / 1.186 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.435e-06/0.8324, allocations: 8 kB / 1.186 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007157/0.8332, allocations: 285.5 kB / 1.187 GB, free: 4.359 MB / 0.9356 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.001709/0.8349, allocations: 1.071 MB / 1.188 GB, free: 3.223 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009209/0.8358, allocations: 327.7 kB / 1.188 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003393/0.8362, allocations: 142.6 kB / 1.188 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006791/0.8369, allocations: 392.3 kB / 1.189 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.8369, allocations: 34.55 kB / 1.189 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=19): time 1.493e-06/0.8369, allocations: 3.938 kB / 1.189 GB, free: 2.23 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.001237/0.8381, allocations: 405 kB / 1.189 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.8382, allocations: 51.41 kB / 1.189 GB, free: 1.766 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.8385, allocations: 278.9 kB / 1.189 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.8385, allocations: 25.7 kB / 1.189 GB, free: 1.457 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.8386, allocations: 172.2 kB / 1.189 GB, free: 1.285 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.484e-05/0.8387, allocations: 63.09 kB / 1.19 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.935e-05/0.8388, allocations: 45.61 kB / 1.19 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.8389, allocations: 338.8 kB / 1.19 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003086/0.8393, allocations: 111.8 kB / 1.19 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003563/0.8396, allocations: 159.5 kB / 1.19 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006501/0.8403, allocations: 276 kB / 1.19 GB, free: 268 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.8403, allocations: 4 kB / 1.19 GB, free: 264 kB / 0.9356 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007948/0.8411, allocations: 305.1 kB / 1.191 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.8411, allocations: 9.875 kB / 1.191 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.8411, allocations: 160 / 1.191 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.8412, allocations: 11.94 kB / 1.191 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.8414, allocations: 59.89 kB / 1.191 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.8415, allocations: 4 kB / 1.191 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.8417, allocations: 47.59 kB / 1.191 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-05/0.8418, allocations: 4 kB / 1.191 GB, free: 15.82 MB / 0.9512 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.0001572/0.8419, allocations: 157.8 kB / 1.191 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.265e-05/0.842, allocations: 27.72 kB / 1.191 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008094/0.8428, allocations: 317.8 kB / 1.191 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.8428, allocations: 0 / 1.191 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.8429, allocations: 0 / 1.191 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.8429, allocations: 11.92 kB / 1.191 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/0.8443, allocations: 0.9213 MB / 1.192 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.8443, allocations: 7.984 kB / 1.192 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002609/0.8446, allocations: 51.91 kB / 1.192 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.8446, allocations: 0 / 1.192 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.8447, allocations: 4 kB / 1.192 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.8447, allocations: 8.188 kB / 1.192 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.415e-06/0.8447, allocations: 11.92 kB / 1.192 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.8458, allocations: 0.5587 MB / 1.193 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.8459, allocations: 128.6 kB / 1.193 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.402e-05/0.846, allocations: 64 / 1.193 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.8462, allocations: 27.97 kB / 1.193 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.229e-05/0.8463, allocations: 23.86 kB / 1.193 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.8463, allocations: 8 kB / 1.193 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000173/0.8465, allocations: 197.9 kB / 1.193 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8465, allocations: 0 / 1.193 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004725/0.847, allocations: 99.84 kB / 1.193 GB, free: 13.1 MB / 0.9512 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/0.8488, allocations: 1.192 MB / 1.195 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007496/0.8495, allocations: 265.7 kB / 1.195 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.8495, allocations: 4.312 kB / 1.195 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003523/0.8499, allocations: 135.8 kB / 1.195 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007747/0.8507, allocations: 134.5 kB / 1.195 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004312/0.855, allocations: 2.965 MB / 1.198 GB, free: 8.242 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.8553, allocations: 0.7792 MB / 1.199 GB, free: 7.438 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002567/0.8556, allocations: 62.27 kB / 1.199 GB, free: 7.379 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.8557, allocations: 91.34 kB / 1.199 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of SimCode: time 5.11e-07/0.8558, allocations: 0 / 1.199 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02741/0.8832, allocations: 8.859 MB / 1.207 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.707/8.59, allocations: 13.86 kB / 1.207 GB, free: 14.58 MB / 0.9669 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