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: 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_10_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_10_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.001219/0.001219, allocations: 104.1 kB / 16.4 MB, free: 5.977 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.001191/0.001191, allocations: 190.8 kB / 17.34 MB, free: 5.586 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.08 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.424/2.424, allocations: 437 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 68.11 kB / 1.019 GB, free: 9.344 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.84/0.8414, allocations: 151.6 MB / 1.167 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.183/1.024, allocations: 165.3 MB / 1.329 GB, free: 13.88 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00326/1.028, allocations: 1.549 MB / 1.33 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005649/1.028, allocations: 15.88 kB / 1.33 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006423/1.029, allocations: 146.9 kB / 1.33 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001532/1.031, allocations: 489.8 kB / 1.331 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002264/1.033, allocations: 0.7589 MB / 1.332 GB, free: 10.92 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001076/1.034, allocations: 0.702 MB / 1.332 GB, free: 10.21 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005768/1.035, allocations: 274.7 kB / 1.333 GB, free: 9.949 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007584/1.035, allocations: 318.8 kB / 1.333 GB, free: 9.637 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004373/1.036, allocations: 223.1 kB / 1.333 GB, free: 9.418 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.971e-05/1.036, allocations: 27.98 kB / 1.333 GB, free: 9.391 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001663/1.038, allocations: 0.8691 MB / 1.334 GB, free: 8.52 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001696/1.038, allocations: 115.7 kB / 1.334 GB, free: 8.406 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002246/1.038, allocations: 155.3 kB / 1.334 GB, free: 8.254 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001391/1.039, allocations: 0.7421 MB / 1.335 GB, free: 7.512 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.039, allocations: 4 kB / 1.335 GB, free: 7.508 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.543e-06/1.039, allocations: 0 / 1.335 GB, free: 7.508 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.462e-05/1.039, allocations: 0 / 1.335 GB, free: 7.508 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.001478/1.041, allocations: 0.6701 MB / 1.336 GB, free: 6.785 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/1.041, allocations: 12.62 kB / 1.336 GB, free: 6.773 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005826/1.042, allocations: 87.5 kB / 1.336 GB, free: 6.688 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005264/1.042, allocations: 309.8 kB / 1.336 GB, free: 6.348 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/1.042, allocations: 24.56 kB / 1.336 GB, free: 6.324 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.914e-05/1.042, allocations: 24 kB / 1.336 GB, free: 6.301 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006677/1.043, allocations: 332.2 kB / 1.336 GB, free: 5.965 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/1.043, allocations: 0 / 1.336 GB, free: 5.965 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.095e-05/1.043, allocations: 12 kB / 1.336 GB, free: 5.953 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/1.043, allocations: 11.94 kB / 1.336 GB, free: 5.941 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006961/1.044, allocations: 281.5 kB / 1.337 GB, free: 5.664 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.001758/1.045, allocations: 1.067 MB / 1.338 GB, free: 4.531 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009293/1.046, allocations: 327.6 kB / 1.338 GB, free: 4.184 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003206/1.047, allocations: 140.8 kB / 1.338 GB, free: 4.043 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006794/1.047, allocations: 388.3 kB / 1.338 GB, free: 3.59 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/1.047, allocations: 34.56 kB / 1.339 GB, free: 3.547 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.853e-06/1.047, allocations: 4 kB / 1.339 GB, free: 3.543 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001213/1.049, allocations: 415.1 kB / 1.339 GB, free: 3.133 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/1.049, allocations: 55.41 kB / 1.339 GB, free: 3.066 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/1.049, allocations: 267 kB / 1.339 GB, free: 2.801 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/1.049, allocations: 29.7 kB / 1.339 GB, free: 2.766 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/1.049, allocations: 164.2 kB / 1.339 GB, free: 2.602 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.015e-05/1.049, allocations: 71 kB / 1.339 GB, free: 2.531 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.659e-05/1.049, allocations: 41.7 kB / 1.34 GB, free: 2.484 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.05, allocations: 338.8 kB / 1.34 GB, free: 2.145 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002977/1.05, allocations: 107.9 kB / 1.34 GB, free: 2.039 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003336/1.05, allocations: 161.9 kB / 1.34 GB, free: 1.859 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005906/1.051, allocations: 260.9 kB / 1.34 GB, free: 1.586 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/1.051, allocations: 0 / 1.34 GB, free: 1.586 MB / 1.061 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007257/1.051, allocations: 323.4 kB / 1.341 GB, free: 1.266 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/1.052, allocations: 12 kB / 1.341 GB, free: 1.254 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/1.052, allocations: 0 / 1.341 GB, free: 1.254 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/1.052, allocations: 11.88 kB / 1.341 GB, free: 1.242 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000281/1.052, allocations: 55.91 kB / 1.341 GB, free: 1.188 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/1.052, allocations: 7.984 kB / 1.341 GB, free: 1.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/1.052, allocations: 47.66 kB / 1.341 GB, free: 1.133 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.1e-05/1.052, allocations: 8 kB / 1.341 GB, free: 1.125 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.0001571/1.052, allocations: 149.8 kB / 1.341 GB, free: 0.9688 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.744e-05/1.052, allocations: 23.72 kB / 1.341 GB, free: 0.9453 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007509/1.053, allocations: 323.5 kB / 1.341 GB, free: 0.6133 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/1.053, allocations: 3.938 kB / 1.341 GB, free: 0.6094 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/1.053, allocations: 4 kB / 1.341 GB, free: 0.6055 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/1.053, allocations: 0 / 1.341 GB, free: 0.6055 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/1.055, allocations: 0.9253 MB / 1.342 GB, free: 15.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/1.055, allocations: 4 kB / 1.342 GB, free: 15.57 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/1.055, allocations: 47.95 kB / 1.342 GB, free: 15.52 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/1.055, allocations: 0 / 1.342 GB, free: 15.52 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/1.055, allocations: 8.188 kB / 1.342 GB, free: 15.51 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/1.055, allocations: 11.94 kB / 1.342 GB, free: 15.5 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.055, allocations: 0 / 1.342 GB, free: 15.5 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/1.056, allocations: 0.5607 MB / 1.343 GB, free: 14.91 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/1.056, allocations: 124.7 kB / 1.343 GB, free: 14.77 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.381e-05/1.056, allocations: 12.05 kB / 1.343 GB, free: 14.75 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/1.057, allocations: 19.98 kB / 1.343 GB, free: 14.73 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.486e-05/1.057, allocations: 23.91 kB / 1.343 GB, free: 14.71 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/1.057, allocations: 8 kB / 1.343 GB, free: 14.7 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001761/1.057, allocations: 194 kB / 1.343 GB, free: 14.52 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.8e-07/1.057, allocations: 0 / 1.343 GB, free: 14.52 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004758/1.057, allocations: 107.8 kB / 1.343 GB, free: 14.41 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.0005187/1.058, allocations: 205.1 kB / 1.343 GB, free: 14.21 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007037/1.059, allocations: 255.8 kB / 1.344 GB, free: 13.96 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/1.059, allocations: 3.938 kB / 1.344 GB, free: 13.96 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003366/1.059, allocations: 136.3 kB / 1.344 GB, free: 13.82 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007182/1.06, allocations: 132.9 kB / 1.344 GB, free: 13.7 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/1.061, allocations: 0.6361 MB / 1.345 GB, free: 13.01 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/1.061, allocations: 0.7755 MB / 1.345 GB, free: 12.21 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.807e-05/1.061, allocations: 31.44 kB / 1.345 GB, free: 12.18 MB / 1.076 GB Notification: Performance of SimCode: time 2.31e-07/1.061, allocations: 0 / 1.345 GB, free: 12.18 MB / 1.076 GB Notification: Performance of Templates: time 0.008589/1.07, allocations: 5.137 MB / 1.35 GB, free: 7.09 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (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 & ./Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/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