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.008924/0.008923, allocations: 101.7 kB / 15.88 MB, free: 6.328 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.001814/0.001814, allocations: 194.2 kB / 16.79 MB, free: 6.254 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.403/1.403, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.737/2.737, allocations: 461.8 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 63.56 kB / 0.899 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3208, allocations: 157.4 MB / 1.053 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1835/0.5044, allocations: 163 MB / 1.212 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002988/0.5074, allocations: 1.582 MB / 1.213 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005212/0.5079, allocations: 11.94 kB / 1.214 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005747/0.5085, allocations: 111.3 kB / 1.214 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001346/0.5099, allocations: 434.2 kB / 1.214 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002091/0.512, allocations: 0.6963 MB / 1.215 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001168/0.5132, allocations: 0.9944 MB / 1.216 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004872/0.5137, allocations: 222.1 kB / 1.216 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007212/0.5145, allocations: 278.9 kB / 1.216 GB, free: 348 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004302/0.5149, allocations: 239 kB / 1.216 GB, free: 108 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.995e-05/0.515, allocations: 16 kB / 1.216 GB, free: 92 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001802/0.5168, allocations: 0.9859 MB / 1.217 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002265/0.517, allocations: 111.7 kB / 1.217 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002129/0.5173, allocations: 143.2 kB / 1.218 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009177/0.5182, allocations: 0.5184 MB / 1.218 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.5182, allocations: 3.984 kB / 1.218 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5182, allocations: 0 / 1.218 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.5182, allocations: 0 / 1.218 GB, free: 14.33 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.001344/0.5196, allocations: 0.6703 MB / 1.219 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.5196, allocations: 8.031 kB / 1.219 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005613/0.5202, allocations: 91.38 kB / 1.219 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000413/0.5206, allocations: 302 kB / 1.219 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.5206, allocations: 16.56 kB / 1.219 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.515e-05/0.5207, allocations: 24 kB / 1.219 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006849/0.5214, allocations: 328.2 kB / 1.219 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.5214, allocations: 8 kB / 1.22 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.5215, allocations: 8 kB / 1.22 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.5215, allocations: 11.94 kB / 1.22 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000689/0.5222, allocations: 277.5 kB / 1.22 GB, free: 12.5 MB / 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.001586/0.5238, allocations: 1.075 MB / 1.221 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009499/0.5247, allocations: 329.4 kB / 1.221 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003246/0.5251, allocations: 128.8 kB / 1.221 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006975/0.5258, allocations: 396.3 kB / 1.222 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.5258, allocations: 38.5 kB / 1.222 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 1.583e-06/0.5258, allocations: 0 / 1.222 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.001203/0.527, allocations: 402.6 kB / 1.222 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.5271, allocations: 55.41 kB / 1.222 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.5273, allocations: 270.9 kB / 1.222 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.5274, allocations: 33.7 kB / 1.222 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.5275, allocations: 164.2 kB / 1.223 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.753e-05/0.5276, allocations: 75.03 kB / 1.223 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.973e-05/0.5277, allocations: 45.61 kB / 1.223 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.5278, allocations: 338.8 kB / 1.223 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/0.5281, allocations: 107.8 kB / 1.223 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003416/0.5285, allocations: 161.8 kB / 1.223 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006112/0.5291, allocations: 274.4 kB / 1.224 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.5291, allocations: 0 / 1.224 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007362/0.5299, allocations: 313.1 kB / 1.224 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.5299, allocations: 5.719 kB / 1.224 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.5299, allocations: 4 kB / 1.224 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.5299, allocations: 8.094 kB / 1.224 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/0.5302, allocations: 63.89 kB / 1.224 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.5302, allocations: 0 / 1.224 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/0.5305, allocations: 43.7 kB / 1.224 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/0.5305, allocations: 12 kB / 1.224 GB, free: 7.961 MB / 0.9825 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.0001545/0.5307, allocations: 149.8 kB / 1.224 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.644e-05/0.5308, allocations: 27.72 kB / 1.224 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007789/0.5316, allocations: 313.7 kB / 1.224 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.5316, allocations: 7.938 kB / 1.224 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.5316, allocations: 8.062 kB / 1.224 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.5316, allocations: 0 / 1.224 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00159/0.5332, allocations: 0.9251 MB / 1.225 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.5332, allocations: 0 / 1.225 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002753/0.5335, allocations: 55.89 kB / 1.225 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.5335, allocations: 4 kB / 1.225 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.5335, allocations: 4.188 kB / 1.225 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.5335, allocations: 4 kB / 1.225 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.5335, allocations: 4 kB / 1.225 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.5346, allocations: 0.56 MB / 1.226 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.5348, allocations: 128.8 kB / 1.226 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.914e-05/0.5348, allocations: 11.98 kB / 1.226 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002612/0.5351, allocations: 23.97 kB / 1.226 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.811e-05/0.5352, allocations: 23.86 kB / 1.226 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.5352, allocations: 8 kB / 1.226 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001873/0.5354, allocations: 197.9 kB / 1.226 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5354, allocations: 4 kB / 1.226 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004899/0.5359, allocations: 99.84 kB / 1.226 GB, free: 5.246 MB / 0.9825 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.0005052/0.5364, allocations: 210.4 kB / 1.227 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007184/0.5371, allocations: 256.8 kB / 1.227 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5372, allocations: 0 / 1.227 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000358/0.5375, allocations: 148.5 kB / 1.227 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007589/0.5383, allocations: 115.6 kB / 1.227 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.5394, allocations: 0.7345 MB / 1.228 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.5398, allocations: 0.7758 MB / 1.229 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.5399, allocations: 31.44 kB / 1.229 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of SimCode: time 1.673e-06/0.54, allocations: 0 / 1.229 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of Templates: time 0.008359/0.5483, allocations: 5.119 MB / 1.234 GB, free: 13.83 MB / 0.9981 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 -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