Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001386/0.001386, allocations: 100.1 kB / 15.88 MB, free: 12 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.001595/0.001595, allocations: 199.8 kB / 16.79 MB, free: 6.809 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.381/1.381, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.644/2.644, allocations: 437 MB / 0.7106 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 63.91 kB / 0.8692 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6864/0.6879, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1684/0.8563, allocations: 163 MB / 1.176 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002959/0.8593, allocations: 1.579 MB / 1.178 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000495/0.8598, allocations: 11.94 kB / 1.178 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005563/0.8604, allocations: 111.3 kB / 1.178 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001299/0.8618, allocations: 442.2 kB / 1.179 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001951/0.8638, allocations: 0.6893 MB / 1.179 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001033/0.8648, allocations: 0.9828 MB / 1.18 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004301/0.8652, allocations: 230 kB / 1.18 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005937/0.8658, allocations: 282.9 kB / 1.181 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003494/0.8662, allocations: 235 kB / 1.181 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.846e-05/0.8663, allocations: 16 kB / 1.181 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001781/0.8681, allocations: 0.982 MB / 1.182 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.8683, allocations: 115.6 kB / 1.182 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.8685, allocations: 151.2 kB / 1.182 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000829/0.8693, allocations: 0.5069 MB / 1.183 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.8693, allocations: 0 / 1.183 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8693, allocations: 0 / 1.183 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.679e-06/0.8693, allocations: 0 / 1.183 GB, free: 8.836 MB / 0.9356 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.001357/0.8707, allocations: 0.6857 MB / 1.183 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.8708, allocations: 8.031 kB / 1.183 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005703/0.8713, allocations: 83.5 kB / 1.183 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00047/0.8718, allocations: 298 kB / 1.184 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.8718, allocations: 20.56 kB / 1.184 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.924e-05/0.8719, allocations: 24 kB / 1.184 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006852/0.8726, allocations: 332.1 kB / 1.184 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.8726, allocations: 8 kB / 1.184 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/0.8727, allocations: 8 kB / 1.184 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.8727, allocations: 11.94 kB / 1.184 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000722/0.8734, allocations: 281.5 kB / 1.184 GB, free: 7 MB / 0.9356 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.001686/0.8751, allocations: 1.075 MB / 1.185 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009675/0.8761, allocations: 327.6 kB / 1.186 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000336/0.8764, allocations: 140.7 kB / 1.186 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000713/0.8771, allocations: 388.3 kB / 1.186 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.8772, allocations: 34.56 kB / 1.186 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=19): time 1.913e-06/0.8772, allocations: 0 / 1.186 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.001245/0.8784, allocations: 410.9 kB / 1.187 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.8785, allocations: 51.41 kB / 1.187 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/0.8788, allocations: 278.9 kB / 1.187 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.8788, allocations: 25.7 kB / 1.187 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.8789, allocations: 172.2 kB / 1.187 GB, free: 3.922 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.79e-05/0.879, allocations: 63.09 kB / 1.187 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.883e-05/0.8791, allocations: 45.61 kB / 1.187 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.8792, allocations: 338.8 kB / 1.188 GB, free: 3.469 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003396/0.8796, allocations: 111.8 kB / 1.188 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003479/0.8799, allocations: 159.1 kB / 1.188 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006193/0.8806, allocations: 267 kB / 1.188 GB, free: 2.906 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.8806, allocations: 4 kB / 1.188 GB, free: 2.902 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007522/0.8813, allocations: 309.1 kB / 1.188 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.8814, allocations: 4 kB / 1.188 GB, free: 2.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.8814, allocations: 4.156 kB / 1.188 GB, free: 2.586 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.8814, allocations: 11.94 kB / 1.188 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/0.8817, allocations: 59.89 kB / 1.188 GB, free: 2.516 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.8817, allocations: 0 / 1.188 GB, free: 2.516 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000286/0.882, allocations: 47.66 kB / 1.188 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/0.882, allocations: 11.94 kB / 1.188 GB, free: 2.457 MB / 0.9356 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.000176/0.8822, allocations: 169.7 kB / 1.189 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.154e-05/0.8823, allocations: 23.72 kB / 1.189 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007851/0.8831, allocations: 308.7 kB / 1.189 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.8831, allocations: 11.94 kB / 1.189 GB, free: 1.938 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.8831, allocations: 0 / 1.189 GB, free: 1.938 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.8831, allocations: 3.984 kB / 1.189 GB, free: 1.934 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/0.8847, allocations: 0.9251 MB / 1.19 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.8847, allocations: 3.984 kB / 1.19 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/0.8849, allocations: 47.97 kB / 1.19 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.415e-06/0.885, allocations: 8.188 kB / 1.19 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.885, allocations: 12.05 kB / 1.19 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.885, allocations: 0 / 1.19 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.885, allocations: 11.97 kB / 1.19 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.8861, allocations: 0.5564 MB / 1.191 GB, free: 236 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.8862, allocations: 128.8 kB / 1.191 GB, free: 88 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.419e-05/0.8863, allocations: 4 kB / 1.191 GB, free: 84 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.8865, allocations: 27.97 kB / 1.191 GB, free: 56 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.361e-05/0.8866, allocations: 31.84 kB / 1.191 GB, free: 24 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.8866, allocations: 4 kB / 1.191 GB, free: 20 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001998/0.8868, allocations: 198 kB / 1.191 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8869, allocations: 0 / 1.191 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004688/0.8873, allocations: 103.8 kB / 1.191 GB, free: 15.72 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.0005545/0.8879, allocations: 195.6 kB / 1.191 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000715/0.8886, allocations: 255.3 kB / 1.191 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.8886, allocations: 0 / 1.191 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003682/0.889, allocations: 144.4 kB / 1.192 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007906/0.8898, allocations: 124.7 kB / 1.192 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.891, allocations: 0.7337 MB / 1.192 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.8914, allocations: 0.7835 MB / 1.193 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.8915, allocations: 27.44 kB / 1.193 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of SimCode: time 3.51e-07/0.8915, allocations: 0 / 1.193 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of Templates: time 0.008826/0.9004, allocations: 5.111 MB / 1.198 GB, free: 8.336 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches