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.001629/0.001628, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001756/0.001756, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.572/2.572, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001526, allocations: 67.89 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8367/0.8383, allocations: 140.4 MB / 1.089 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.2133/1.052, allocations: 165.3 MB / 1.25 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003213/1.055, allocations: 1.553 MB / 1.252 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005862/1.055, allocations: 11.94 kB / 1.252 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006635/1.056, allocations: 146.9 kB / 1.252 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001658/1.058, allocations: 461.8 kB / 1.252 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002375/1.06, allocations: 0.7576 MB / 1.253 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001111/1.061, allocations: 0.702 MB / 1.254 GB, free: 5 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005255/1.062, allocations: 270.5 kB / 1.254 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007598/1.063, allocations: 310.9 kB / 1.254 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004541/1.063, allocations: 231.1 kB / 1.254 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.479e-05/1.063, allocations: 24 kB / 1.254 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001968/1.065, allocations: 0.8652 MB / 1.255 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001964/1.065, allocations: 111.7 kB / 1.255 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002436/1.066, allocations: 159.2 kB / 1.255 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001629/1.067, allocations: 0.746 MB / 1.256 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/1.067, allocations: 0 / 1.256 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.022e-06/1.067, allocations: 0 / 1.256 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.503e-05/1.067, allocations: 0 / 1.256 GB, free: 2.305 MB / 0.9825 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.001422/1.069, allocations: 0.674 MB / 1.257 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/1.069, allocations: 8.031 kB / 1.257 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005496/1.069, allocations: 87.48 kB / 1.257 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004785/1.07, allocations: 321.8 kB / 1.257 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/1.07, allocations: 12.56 kB / 1.257 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.431e-05/1.07, allocations: 24 kB / 1.257 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006944/1.071, allocations: 336.2 kB / 1.258 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/1.071, allocations: 3.938 kB / 1.258 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/1.071, allocations: 12 kB / 1.258 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/1.071, allocations: 7.938 kB / 1.258 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007204/1.072, allocations: 281.5 kB / 1.258 GB, free: 464 kB / 0.9825 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.001744/1.073, allocations: 1.063 MB / 1.259 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009035/1.074, allocations: 327.7 kB / 1.259 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003326/1.075, allocations: 132.8 kB / 1.259 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007029/1.075, allocations: 400.3 kB / 1.26 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/1.075, allocations: 30.56 kB / 1.26 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.843e-06/1.075, allocations: 0 / 1.26 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.001244/1.077, allocations: 414.4 kB / 1.26 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/1.077, allocations: 55.34 kB / 1.26 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/1.077, allocations: 267 kB / 1.26 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/1.077, allocations: 29.7 kB / 1.261 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/1.077, allocations: 172.2 kB / 1.261 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.295e-05/1.077, allocations: 70.95 kB / 1.261 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.429e-05/1.077, allocations: 41.7 kB / 1.261 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001454/1.077, allocations: 338.8 kB / 1.261 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003047/1.078, allocations: 103.9 kB / 1.261 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003553/1.078, allocations: 166.7 kB / 1.261 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006279/1.079, allocations: 266.8 kB / 1.262 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/1.079, allocations: 0 / 1.262 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007764/1.079, allocations: 313.1 kB / 1.262 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/1.08, allocations: 8 kB / 1.262 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/1.08, allocations: 0 / 1.262 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/1.08, allocations: 7.938 kB / 1.262 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/1.08, allocations: 64.05 kB / 1.262 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/1.08, allocations: 4 kB / 1.262 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002717/1.08, allocations: 39.66 kB / 1.262 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/1.08, allocations: 12 kB / 1.262 GB, free: 11.93 MB / 0.9981 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.00018/1.08, allocations: 152.2 kB / 1.262 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.463e-05/1.08, allocations: 23.72 kB / 1.262 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008063/1.081, allocations: 318.4 kB / 1.263 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/1.081, allocations: 7.922 kB / 1.263 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/1.081, allocations: 0 / 1.263 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/1.081, allocations: 4.062 kB / 1.263 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/1.083, allocations: 0.9363 MB / 1.263 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/1.083, allocations: 4 kB / 1.263 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/1.083, allocations: 51.91 kB / 1.263 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/1.083, allocations: 0 / 1.263 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/1.083, allocations: 4 kB / 1.263 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.674e-06/1.083, allocations: 7.984 kB / 1.264 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.083, allocations: 0 / 1.264 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/1.084, allocations: 0.5663 MB / 1.264 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/1.085, allocations: 128.7 kB / 1.264 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.718e-05/1.085, allocations: 4 kB / 1.264 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/1.085, allocations: 23.97 kB / 1.264 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.485e-05/1.085, allocations: 23.98 kB / 1.264 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/1.085, allocations: 8 kB / 1.264 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001876/1.085, allocations: 197.9 kB / 1.264 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.843e-06/1.085, allocations: 0 / 1.264 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004936/1.086, allocations: 107.8 kB / 1.265 GB, free: 9.207 MB / 0.9981 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.0005663/1.086, allocations: 211.5 kB / 1.265 GB, free: 9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007405/1.087, allocations: 255.6 kB / 1.265 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.087, allocations: 320 / 1.265 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003459/1.087, allocations: 139.8 kB / 1.265 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000782/1.088, allocations: 128.1 kB / 1.265 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/1.089, allocations: 0.6326 MB / 1.266 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/1.09, allocations: 0.7794 MB / 1.267 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/1.09, allocations: 31.42 kB / 1.267 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of SimCode: time 4.1e-07/1.09, allocations: 0 / 1.267 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of Templates: time 0.00922/1.099, allocations: 5.15 MB / 1.272 GB, free: 1.863 MB / 0.9981 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/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