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.001278/0.001278, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 183.8 kB / 16.92 MB, free: 6.922 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.435/1.435, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.811/2.811, allocations: 443.2 MB / 0.7181 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0006773/0.0006774, allocations: 12.75 kB / 0.8801 GB, free: 42.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3231, allocations: 155.2 MB / 1.032 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1824/0.5055, allocations: 160.9 MB / 1.189 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003439/0.509, allocations: 1.55 MB / 1.19 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004754/0.5095, allocations: 7.938 kB / 1.19 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005433/0.5101, allocations: 123.2 kB / 1.19 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001461/0.5116, allocations: 438.2 kB / 1.191 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002263/0.5139, allocations: 0.6852 MB / 1.191 GB, free: 448 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001298/0.5152, allocations: 0.9867 MB / 1.192 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005365/0.5157, allocations: 222.1 kB / 1.193 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007459/0.5165, allocations: 278.8 kB / 1.193 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004341/0.5169, allocations: 227.1 kB / 1.193 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.305e-05/0.517, allocations: 12 kB / 1.193 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001851/0.5189, allocations: 0.9781 MB / 1.194 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.5191, allocations: 115.6 kB / 1.194 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002571/0.5193, allocations: 165 kB / 1.194 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009606/0.5203, allocations: 0.5145 MB / 1.195 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.5203, allocations: 4 kB / 1.195 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.795e-06/0.5203, allocations: 0 / 1.195 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.315e-05/0.5204, allocations: 0 / 1.195 GB, free: 12.94 MB / 0.9512 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.001352/0.5217, allocations: 0.6313 MB / 1.196 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.5218, allocations: 12.03 kB / 1.196 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006052/0.5224, allocations: 87.48 kB / 1.196 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004866/0.5229, allocations: 297.9 kB / 1.196 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.5229, allocations: 20.56 kB / 1.196 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.074e-05/0.523, allocations: 28 kB / 1.196 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007855/0.5238, allocations: 340.2 kB / 1.196 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.5238, allocations: 0 / 1.196 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.283e-05/0.5239, allocations: 12 kB / 1.196 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.5239, allocations: 7.938 kB / 1.196 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007954/0.5247, allocations: 321.5 kB / 1.197 GB, free: 11.1 MB / 0.9512 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.001837/0.5265, allocations: 1.083 MB / 1.198 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009165/0.5275, allocations: 339.7 kB / 1.198 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003686/0.5278, allocations: 148.8 kB / 1.198 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007294/0.5286, allocations: 412.3 kB / 1.198 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.5286, allocations: 34.56 kB / 1.199 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=19): time 1.654e-06/0.5286, allocations: 0 / 1.199 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of matching and sorting (n=19): time 0.001356/0.53, allocations: 454.5 kB / 1.199 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.53, allocations: 59.41 kB / 1.199 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.5303, allocations: 274.9 kB / 1.199 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.5304, allocations: 25.7 kB / 1.199 GB, free: 8.098 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.5305, allocations: 176.1 kB / 1.199 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.137e-05/0.5306, allocations: 63.05 kB / 1.2 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.642e-05/0.5306, allocations: 25.7 kB / 1.2 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.5308, allocations: 334.8 kB / 1.2 GB, free: 7.492 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003379/0.5311, allocations: 119.9 kB / 1.2 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/0.5315, allocations: 179.7 kB / 1.2 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007074/0.5322, allocations: 314.6 kB / 1.2 GB, free: 6.855 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5322, allocations: 4 kB / 1.2 GB, free: 6.852 MB / 0.9512 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008329/0.5331, allocations: 341.1 kB / 1.201 GB, free: 6.512 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.5331, allocations: 5.875 kB / 1.201 GB, free: 6.508 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.5331, allocations: 8.062 kB / 1.201 GB, free: 6.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.5331, allocations: 4.062 kB / 1.201 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.5334, allocations: 67.89 kB / 1.201 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.5335, allocations: 4 kB / 1.201 GB, free: 6.426 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003062/0.5338, allocations: 51.81 kB / 1.201 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/0.5338, allocations: 8 kB / 1.201 GB, free: 6.367 MB / 0.9512 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.0001686/0.534, allocations: 155.3 kB / 1.201 GB, free: 6.207 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-05/0.5341, allocations: 27.62 kB / 1.201 GB, free: 6.18 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008601/0.5349, allocations: 352.8 kB / 1.201 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.535, allocations: 7.938 kB / 1.201 GB, free: 5.82 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.535, allocations: 3.938 kB / 1.201 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.535, allocations: 0 / 1.201 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.5367, allocations: 0.9603 MB / 1.202 GB, free: 4.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.5367, allocations: 0 / 1.202 GB, free: 4.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002746/0.537, allocations: 60.09 kB / 1.202 GB, free: 4.691 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.537, allocations: 4 kB / 1.202 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.5371, allocations: 11.98 kB / 1.202 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.5371, allocations: 0 / 1.202 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.5371, allocations: 4 kB / 1.202 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.5383, allocations: 0.603 MB / 1.203 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.5384, allocations: 128.7 kB / 1.203 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.5385, allocations: 12.06 kB / 1.203 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002692/0.5388, allocations: 27.97 kB / 1.203 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.047e-05/0.5389, allocations: 23.91 kB / 1.203 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.5389, allocations: 16 kB / 1.203 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001909/0.5391, allocations: 190 kB / 1.203 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5391, allocations: 0 / 1.203 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004906/0.5396, allocations: 107.8 kB / 1.204 GB, free: 3.523 MB / 0.9512 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.0005456/0.5402, allocations: 209.7 kB / 1.204 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007818/0.541, allocations: 289.8 kB / 1.204 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.541, allocations: 0 / 1.204 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004021/0.5414, allocations: 156.2 kB / 1.204 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008747/0.5423, allocations: 122.3 kB / 1.204 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.5435, allocations: 0.7618 MB / 1.205 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.5439, allocations: 0.7874 MB / 1.206 GB, free: 1.141 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.5441, allocations: 27.42 kB / 1.206 GB, free: 1.113 MB / 0.9512 GB Notification: Performance of SimCode: time 5.41e-07/0.5441, allocations: 0 / 1.206 GB, free: 1.113 MB / 0.9512 GB Notification: Performance of Templates: time 0.01062/0.5547, allocations: 5.082 MB / 1.211 GB, free: 12.07 MB / 0.9669 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