Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 110.8 kB / 15.99 MB, free: 6.348 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.001429/0.001429, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.445/1.445, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.752/2.752, allocations: 469.8 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 71.64 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3184, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.6527/0.9711, allocations: 163 MB / 1.223 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00315/0.9743, allocations: 1.55 MB / 1.225 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003833/0.9747, allocations: 10.06 kB / 1.225 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004752/0.9752, allocations: 114.8 kB / 1.225 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001321/0.9766, allocations: 443.9 kB / 1.225 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002039/0.9786, allocations: 0.6975 MB / 1.226 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009406/0.9796, allocations: 0.7178 MB / 1.227 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004048/0.98, allocations: 249.5 kB / 1.227 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005416/0.9805, allocations: 306.9 kB / 1.227 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000282/0.9808, allocations: 244 kB / 1.228 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.903e-05/0.9809, allocations: 26.72 kB / 1.228 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001638/0.9825, allocations: 0.8912 MB / 1.228 GB, free: 128 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.9827, allocations: 113.7 kB / 1.229 GB, free: 52 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.9829, allocations: 167.3 kB / 1.229 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008733/0.9838, allocations: 0.5171 MB / 1.229 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.9838, allocations: 0 / 1.229 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9838, allocations: 2.938 kB / 1.229 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.9838, allocations: 0 / 1.229 GB, free: 15.65 MB / 0.9512 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.001167/0.985, allocations: 0.6685 MB / 1.23 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.985, allocations: 15.92 kB / 1.23 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005025/0.9855, allocations: 80.61 kB / 1.23 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004408/0.986, allocations: 305.1 kB / 1.23 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.986, allocations: 19.28 kB / 1.23 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.84e-05/0.9861, allocations: 23.09 kB / 1.23 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006956/0.9868, allocations: 332 kB / 1.231 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.9868, allocations: 5.594 kB / 1.231 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/0.9868, allocations: 5.875 kB / 1.231 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.9869, allocations: 10.19 kB / 1.231 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007215/0.9876, allocations: 292.3 kB / 1.231 GB, free: 14.33 MB / 0.9512 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.001814/0.9894, allocations: 1.06 MB / 1.232 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009609/0.9904, allocations: 325.5 kB / 1.232 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003388/0.9907, allocations: 139.8 kB / 1.232 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007581/0.9915, allocations: 388.3 kB / 1.233 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.9916, allocations: 42.55 kB / 1.233 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=19): time 2.024e-06/0.9916, allocations: 7.938 kB / 1.233 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of matching and sorting (n=19): time 0.001283/0.9929, allocations: 401 kB / 1.233 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.9929, allocations: 59.34 kB / 1.233 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003219/0.9932, allocations: 266.9 kB / 1.233 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.9933, allocations: 37.64 kB / 1.234 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.9934, allocations: 168.1 kB / 1.234 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.381e-05/0.9935, allocations: 59.11 kB / 1.234 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.682e-05/0.9936, allocations: 53.61 kB / 1.234 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.9938, allocations: 334.8 kB / 1.234 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003168/0.9941, allocations: 103.9 kB / 1.234 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003654/0.9945, allocations: 167.3 kB / 1.234 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006362/0.9951, allocations: 274.7 kB / 1.235 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.9951, allocations: 0 / 1.235 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007823/0.9959, allocations: 314.9 kB / 1.235 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.996, allocations: 4 kB / 1.235 GB, free: 9.922 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.996, allocations: 0 / 1.235 GB, free: 9.922 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.996, allocations: 4 kB / 1.235 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002882/0.9963, allocations: 55.89 kB / 1.235 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.9963, allocations: 7.938 kB / 1.235 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002839/0.9966, allocations: 47.84 kB / 1.235 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/0.9966, allocations: 12 kB / 1.235 GB, free: 9.797 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.0001801/0.9968, allocations: 150.4 kB / 1.235 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.016e-05/0.9969, allocations: 23.72 kB / 1.235 GB, free: 9.617 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008104/0.9977, allocations: 325.8 kB / 1.236 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.9977, allocations: 3.938 kB / 1.236 GB, free: 9.289 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.9977, allocations: 4 kB / 1.236 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.9977, allocations: 0 / 1.236 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00171/0.9995, allocations: 0.9291 MB / 1.236 GB, free: 8.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.9995, allocations: 4 kB / 1.236 GB, free: 8.246 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/0.9998, allocations: 48.72 kB / 1.236 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.9998, allocations: 0 / 1.236 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.9998, allocations: 11.98 kB / 1.237 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.9998, allocations: 4 kB / 1.237 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.9998, allocations: 0 / 1.237 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/1.001, allocations: 0.5648 MB / 1.237 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/1.001, allocations: 120.8 kB / 1.237 GB, free: 7.449 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.827e-05/1.001, allocations: 4.875 kB / 1.237 GB, free: 7.445 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/1.001, allocations: 35.91 kB / 1.237 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.177e-05/1.002, allocations: 27.91 kB / 1.237 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/1.002, allocations: 8 kB / 1.237 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000213/1.002, allocations: 194 kB / 1.237 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.002, allocations: 0 / 1.237 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004903/1.002, allocations: 111.8 kB / 1.238 GB, free: 7.082 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.0005433/1.003, allocations: 215.1 kB / 1.238 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007945/1.004, allocations: 259.9 kB / 1.238 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.004, allocations: 4.062 kB / 1.238 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003577/1.004, allocations: 135.8 kB / 1.238 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007681/1.005, allocations: 128.2 kB / 1.238 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/1.006, allocations: 0.7266 MB / 1.239 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/1.007, allocations: 0.7755 MB / 1.24 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/1.007, allocations: 31.44 kB / 1.24 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of SimCode: time 3.21e-07/1.007, allocations: 7.938 kB / 1.24 GB, free: 4.746 MB / 0.9512 GB Notification: Performance of Templates: time 0.009088/1.016, allocations: 5.125 MB / 1.245 GB, free: 15.67 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches