Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001281/0.001281, allocations: 102.1 kB / 16.35 MB, free: 5.828 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.001284/0.001284, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.547/2.547, allocations: 442.5 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 68.97 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3686, allocations: 153 MB / 1.027 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.835/1.204, allocations: 165.3 MB / 1.188 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00381/1.208, allocations: 1.547 MB / 1.19 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003229/1.208, allocations: 10.72 kB / 1.19 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005355/1.208, allocations: 145.9 kB / 1.19 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001353/1.21, allocations: 468.2 kB / 1.19 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002047/1.212, allocations: 0.75 MB / 1.191 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0009397/1.213, allocations: 0.7037 MB / 1.192 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000422/1.213, allocations: 270.1 kB / 1.192 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000523/1.214, allocations: 306.9 kB / 1.192 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002899/1.214, allocations: 224.4 kB / 1.192 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.747e-05/1.214, allocations: 24.84 kB / 1.192 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/1.216, allocations: 0.8636 MB / 1.193 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001321/1.216, allocations: 118.7 kB / 1.193 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001684/1.216, allocations: 156.4 kB / 1.194 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001091/1.217, allocations: 0.7414 MB / 1.194 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/1.217, allocations: 0 / 1.194 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.693e-06/1.217, allocations: 1.406 kB / 1.194 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.997e-06/1.217, allocations: 0 / 1.194 GB, free: 11.16 MB / 0.9044 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.001194/1.218, allocations: 0.6737 MB / 1.195 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/1.218, allocations: 13.19 kB / 1.195 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005348/1.219, allocations: 89.27 kB / 1.195 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005199/1.219, allocations: 307.9 kB / 1.195 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/1.219, allocations: 18.12 kB / 1.195 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.85e-05/1.22, allocations: 28.31 kB / 1.195 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006988/1.22, allocations: 335.9 kB / 1.196 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/1.22, allocations: 4 kB / 1.196 GB, free: 10 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/1.22, allocations: 11.22 kB / 1.196 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/1.22, allocations: 9.344 kB / 1.196 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006756/1.221, allocations: 283.5 kB / 1.196 GB, free: 9.867 MB / 0.9044 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.00174/1.223, allocations: 1.065 MB / 1.197 GB, free: 8.992 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009398/1.224, allocations: 325.1 kB / 1.197 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003365/1.224, allocations: 134.6 kB / 1.197 GB, free: 8.711 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007022/1.225, allocations: 397.6 kB / 1.198 GB, free: 8.301 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/1.225, allocations: 38.56 kB / 1.198 GB, free: 8.254 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=19): time 4.489e-06/1.225, allocations: 0 / 1.198 GB, free: 8.254 MB / 0.9044 GB Notification: Performance of matching and sorting (n=19): time 0.001219/1.226, allocations: 406.6 kB / 1.198 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/1.226, allocations: 61.88 kB / 1.198 GB, free: 7.984 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/1.226, allocations: 269.7 kB / 1.199 GB, free: 7.805 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/1.226, allocations: 29.7 kB / 1.199 GB, free: 7.77 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/1.227, allocations: 172.6 kB / 1.199 GB, free: 7.613 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.102e-05/1.227, allocations: 58.11 kB / 1.199 GB, free: 7.562 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.884e-05/1.227, allocations: 52.27 kB / 1.199 GB, free: 7.523 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002015/1.227, allocations: 335.8 kB / 1.199 GB, free: 7.191 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/1.227, allocations: 103 kB / 1.199 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003402/1.228, allocations: 163.7 kB / 1.199 GB, free: 7.031 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005552/1.228, allocations: 273.8 kB / 1.2 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.228, allocations: 0 / 1.2 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006631/1.229, allocations: 313.3 kB / 1.2 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/1.229, allocations: 8.031 kB / 1.2 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/1.229, allocations: 0 / 1.2 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/1.229, allocations: 3 kB / 1.2 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/1.229, allocations: 61.55 kB / 1.2 GB, free: 6.688 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/1.229, allocations: 2.469 kB / 1.2 GB, free: 6.688 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/1.229, allocations: 43.56 kB / 1.2 GB, free: 6.66 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/1.229, allocations: 12.12 kB / 1.2 GB, free: 6.656 MB / 0.9044 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.0001691/1.23, allocations: 160.6 kB / 1.2 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.443e-05/1.23, allocations: 24.34 kB / 1.2 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007352/1.23, allocations: 322.8 kB / 1.201 GB, free: 6.309 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/1.23, allocations: 3.938 kB / 1.201 GB, free: 6.305 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/1.23, allocations: 6.672 kB / 1.201 GB, free: 6.301 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/1.23, allocations: 48 / 1.201 GB, free: 6.301 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/1.232, allocations: 0.9341 MB / 1.202 GB, free: 5.504 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/1.232, allocations: 3.312 kB / 1.202 GB, free: 5.504 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/1.232, allocations: 45.78 kB / 1.202 GB, free: 5.492 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/1.232, allocations: 4.25 kB / 1.202 GB, free: 5.492 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/1.232, allocations: 6.531 kB / 1.202 GB, free: 5.488 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-06/1.232, allocations: 14.55 kB / 1.202 GB, free: 5.477 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/1.232, allocations: 3.5 kB / 1.202 GB, free: 5.477 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/1.233, allocations: 0.5633 MB / 1.202 GB, free: 5.086 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/1.234, allocations: 120.5 kB / 1.202 GB, free: 4.965 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.346e-05/1.234, allocations: 9.062 kB / 1.202 GB, free: 4.961 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/1.234, allocations: 19 kB / 1.202 GB, free: 4.953 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.987e-05/1.234, allocations: 19.45 kB / 1.202 GB, free: 4.941 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/1.234, allocations: 11.69 kB / 1.202 GB, free: 4.938 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001826/1.234, allocations: 192.2 kB / 1.203 GB, free: 4.805 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.234, allocations: 4 kB / 1.203 GB, free: 4.801 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005167/1.235, allocations: 112.6 kB / 1.203 GB, free: 4.77 MB / 0.9044 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.0005469/1.235, allocations: 193.8 kB / 1.203 GB, free: 4.641 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007348/1.236, allocations: 263.1 kB / 1.203 GB, free: 4.523 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.236, allocations: 0 / 1.203 GB, free: 4.523 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003484/1.236, allocations: 146.3 kB / 1.203 GB, free: 4.457 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000714/1.237, allocations: 134.1 kB / 1.203 GB, free: 4.383 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/1.238, allocations: 0.5868 MB / 1.204 GB, free: 3.965 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004413/1.239, allocations: 0.7808 MB / 1.205 GB, free: 3.223 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002185/1.239, allocations: 73.47 kB / 1.205 GB, free: 3.188 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.856e-05/1.239, allocations: 26.56 kB / 1.205 GB, free: 3.176 MB / 0.9044 GB Notification: Performance of SimCode: time 3.8e-07/1.239, allocations: 4 kB / 1.205 GB, free: 3.172 MB / 0.9044 GB Notification: Performance of Templates: time 0.012/1.251, allocations: 5.944 MB / 1.211 GB, free: 236 kB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches