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: 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_9_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_9_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.007054/0.007054, allocations: 99.8 kB / 15.73 MB, free: 6.043 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.001492/0.001492, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.425/2.425, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 62.72 kB / 0.9509 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3009, allocations: 140.4 MB / 1.088 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1838/0.4848, allocations: 165.3 MB / 1.249 GB, free: 11.61 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0033/0.4881, allocations: 1.556 MB / 1.251 GB, free: 10.05 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003176/0.4885, allocations: 11.94 kB / 1.251 GB, free: 10.04 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006107/0.4891, allocations: 146.9 kB / 1.251 GB, free: 9.895 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001348/0.4905, allocations: 469.8 kB / 1.251 GB, free: 9.434 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001916/0.4924, allocations: 0.7562 MB / 1.252 GB, free: 8.68 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0007828/0.4932, allocations: 0.6981 MB / 1.253 GB, free: 7.977 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004038/0.4936, allocations: 264 kB / 1.253 GB, free: 7.723 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005767/0.4942, allocations: 326.7 kB / 1.253 GB, free: 7.402 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002772/0.4945, allocations: 223.1 kB / 1.254 GB, free: 7.184 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.038e-05/0.4946, allocations: 28 kB / 1.254 GB, free: 7.156 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001573/0.4962, allocations: 0.8574 MB / 1.255 GB, free: 6.297 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.4963, allocations: 119.7 kB / 1.255 GB, free: 6.18 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001662/0.4965, allocations: 155.2 kB / 1.255 GB, free: 6.027 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.4976, allocations: 0.7519 MB / 1.256 GB, free: 5.273 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.4976, allocations: 0 / 1.256 GB, free: 5.273 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4976, allocations: 0 / 1.256 GB, free: 5.273 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.4976, allocations: 0 / 1.256 GB, free: 5.273 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.001243/0.4989, allocations: 0.6741 MB / 1.256 GB, free: 4.547 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.4989, allocations: 8.031 kB / 1.256 GB, free: 4.539 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005194/0.4995, allocations: 83.5 kB / 1.256 GB, free: 4.457 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004493/0.4999, allocations: 321.7 kB / 1.257 GB, free: 4.105 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.4999, allocations: 16.56 kB / 1.257 GB, free: 4.09 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.974e-05/0.5, allocations: 27.98 kB / 1.257 GB, free: 4.062 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007595/0.5008, allocations: 336.2 kB / 1.257 GB, free: 3.719 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.5008, allocations: 0 / 1.257 GB, free: 3.719 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.5008, allocations: 8 kB / 1.257 GB, free: 3.711 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.5008, allocations: 7.938 kB / 1.257 GB, free: 3.703 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007386/0.5016, allocations: 289.5 kB / 1.257 GB, free: 3.418 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.001681/0.5033, allocations: 1.055 MB / 1.258 GB, free: 2.301 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008997/0.5042, allocations: 319.7 kB / 1.259 GB, free: 1.961 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003128/0.5045, allocations: 136.8 kB / 1.259 GB, free: 1.824 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006855/0.5052, allocations: 396.3 kB / 1.259 GB, free: 1.363 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.5052, allocations: 38.5 kB / 1.259 GB, free: 1.316 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 1.713e-06/0.5053, allocations: 0 / 1.259 GB, free: 1.316 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.00122/0.5065, allocations: 414.2 kB / 1.259 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.5065, allocations: 51.41 kB / 1.26 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.5068, allocations: 267 kB / 1.26 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/0.5068, allocations: 29.7 kB / 1.26 GB, free: 0.543 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.507, allocations: 168.2 kB / 1.26 GB, free: 384 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.016e-05/0.507, allocations: 70.95 kB / 1.26 GB, free: 312 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.541e-05/0.5071, allocations: 49.7 kB / 1.26 GB, free: 256 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.6583/1.165, allocations: 331.3 kB / 1.26 GB, free: 176 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004179/1.166, allocations: 101.5 kB / 1.261 GB, free: 176 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003755/1.166, allocations: 166.2 kB / 1.261 GB, free: 176 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006799/1.167, allocations: 267.4 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/1.167, allocations: 8.359 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000872/1.168, allocations: 312 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/1.168, allocations: 6.422 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/1.168, allocations: 1.125 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/1.168, allocations: 6.859 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002987/1.168, allocations: 59.52 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/1.168, allocations: 3.156 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/1.169, allocations: 41.36 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.794e-05/1.169, allocations: 12.09 kB / 1.261 GB, free: 175.9 MB / 1.014 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.0001662/1.169, allocations: 151.3 kB / 1.261 GB, free: 175.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.131e-05/1.169, allocations: 24.72 kB / 1.262 GB, free: 175.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008482/1.17, allocations: 316.3 kB / 1.262 GB, free: 175.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/1.17, allocations: 2.844 kB / 1.262 GB, free: 175.8 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.17, allocations: 3.938 kB / 1.262 GB, free: 175.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/1.17, allocations: 1.172 kB / 1.262 GB, free: 175.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/1.171, allocations: 0.9331 MB / 1.263 GB, free: 175.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/1.171, allocations: 1.656 kB / 1.263 GB, free: 175.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002932/1.172, allocations: 50.17 kB / 1.263 GB, free: 175.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/1.172, allocations: 2.125 kB / 1.263 GB, free: 175.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/1.172, allocations: 11.66 kB / 1.263 GB, free: 175.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/1.172, allocations: 3.609 kB / 1.263 GB, free: 175.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.172, allocations: 5.406 kB / 1.263 GB, free: 175.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/1.173, allocations: 0.5574 MB / 1.263 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/1.173, allocations: 124.3 kB / 1.263 GB, free: 174.9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/1.173, allocations: 6.906 kB / 1.263 GB, free: 174.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/1.173, allocations: 21.56 kB / 1.263 GB, free: 174.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.264e-05/1.173, allocations: 22.19 kB / 1.264 GB, free: 174.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.453e-05/1.173, allocations: 12.69 kB / 1.264 GB, free: 174.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002255/1.174, allocations: 195.4 kB / 1.264 GB, free: 174.9 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.3e-07/1.174, allocations: 0.8125 kB / 1.264 GB, free: 174.9 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005289/1.174, allocations: 108.6 kB / 1.264 GB, free: 174.9 MB / 1.014 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.000539/1.175, allocations: 206.4 kB / 1.264 GB, free: 174.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008463/1.176, allocations: 254.1 kB / 1.264 GB, free: 174.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.176, allocations: 1.812 kB / 1.264 GB, free: 174.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003927/1.176, allocations: 137.9 kB / 1.264 GB, free: 174.8 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007713/1.177, allocations: 136.6 kB / 1.265 GB, free: 174.7 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/1.178, allocations: 0.5958 MB / 1.265 GB, free: 174.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/1.178, allocations: 0.7786 MB / 1.266 GB, free: 173.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000255/1.178, allocations: 68.23 kB / 1.266 GB, free: 173.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.838e-05/1.179, allocations: 29.47 kB / 1.266 GB, free: 173.7 MB / 1.014 GB Notification: Performance of SimCode: time 2.41e-07/1.179, allocations: 0 / 1.266 GB, free: 173.7 MB / 1.014 GB Notification: Performance of Templates: time 0.01451/1.193, allocations: 6.1 MB / 1.272 GB, free: 173.3 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (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 & ./Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches