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.001137/0.001137, allocations: 113.6 kB / 16.37 MB, free: 6.012 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.001157/0.001157, allocations: 188.7 kB / 17.31 MB, free: 5.613 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.407/2.407, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 64.81 kB / 0.8707 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3165, allocations: 151.6 MB / 1.019 GB, free: 9.895 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.6785/0.9951, allocations: 165.3 MB / 1.18 GB, free: 9.297 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00282/0.9979, allocations: 1.538 MB / 1.182 GB, free: 8.059 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003339/0.9983, allocations: 14.72 kB / 1.182 GB, free: 8.051 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004408/0.9987, allocations: 146.9 kB / 1.182 GB, free: 7.922 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001214/1, allocations: 467.9 kB / 1.182 GB, free: 7.57 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001892/1.002, allocations: 0.7609 MB / 1.183 GB, free: 7.012 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0008628/1.003, allocations: 0.7003 MB / 1.184 GB, free: 6.609 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004085/1.003, allocations: 264.8 kB / 1.184 GB, free: 6.461 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005523/1.004, allocations: 308 kB / 1.184 GB, free: 6.289 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/1.004, allocations: 227.8 kB / 1.184 GB, free: 6.152 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.257e-05/1.004, allocations: 24.75 kB / 1.185 GB, free: 6.152 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001551/1.006, allocations: 0.8629 MB / 1.185 GB, free: 5.676 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001383/1.006, allocations: 115.4 kB / 1.185 GB, free: 5.598 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001792/1.006, allocations: 164.5 kB / 1.186 GB, free: 5.492 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001163/1.007, allocations: 0.7343 MB / 1.186 GB, free: 5.055 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/1.007, allocations: 0 / 1.186 GB, free: 5.055 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.142e-06/1.007, allocations: 0 / 1.186 GB, free: 5.055 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.084e-05/1.007, allocations: 3.938 kB / 1.186 GB, free: 5.051 MB / 0.8887 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.001092/1.008, allocations: 0.6819 MB / 1.187 GB, free: 4.449 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/1.008, allocations: 9.734 kB / 1.187 GB, free: 4.449 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004938/1.009, allocations: 88.48 kB / 1.187 GB, free: 4.406 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004491/1.009, allocations: 315.3 kB / 1.187 GB, free: 4.113 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/1.009, allocations: 15.47 kB / 1.187 GB, free: 4.109 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.052e-05/1.009, allocations: 23.03 kB / 1.187 GB, free: 4.102 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006445/1.01, allocations: 331.8 kB / 1.188 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/1.01, allocations: 1.062 kB / 1.188 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.811e-05/1.01, allocations: 9.938 kB / 1.188 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/1.01, allocations: 10.69 kB / 1.188 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006688/1.011, allocations: 286.4 kB / 1.188 GB, free: 3.754 MB / 0.8887 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.00163/1.012, allocations: 1.058 MB / 1.189 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008689/1.013, allocations: 327.5 kB / 1.189 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003055/1.014, allocations: 139.6 kB / 1.19 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006698/1.014, allocations: 401.2 kB / 1.19 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/1.014, allocations: 31.38 kB / 1.19 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=19): time 1.443e-06/1.014, allocations: 0 / 1.19 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of matching and sorting (n=19): time 0.001137/1.016, allocations: 405.9 kB / 1.19 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/1.016, allocations: 62.08 kB / 1.19 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/1.016, allocations: 266.8 kB / 1.191 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/1.016, allocations: 33.7 kB / 1.191 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/1.016, allocations: 167.7 kB / 1.191 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.357e-05/1.016, allocations: 66.72 kB / 1.191 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.253e-05/1.016, allocations: 48.2 kB / 1.191 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.016, allocations: 336.2 kB / 1.191 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00027/1.017, allocations: 102.8 kB / 1.191 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/1.017, allocations: 161.9 kB / 1.192 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005619/1.017, allocations: 268.8 kB / 1.192 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.017, allocations: 0 / 1.192 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006871/1.018, allocations: 321.9 kB / 1.192 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/1.018, allocations: 5.281 kB / 1.192 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/1.018, allocations: 0 / 1.192 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/1.018, allocations: 3.094 kB / 1.192 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/1.018, allocations: 61.28 kB / 1.192 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/1.018, allocations: 10.39 kB / 1.192 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002482/1.019, allocations: 36.94 kB / 1.192 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/1.019, allocations: 9.719 kB / 1.192 GB, free: 0.543 MB / 0.8887 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.0001453/1.019, allocations: 149.6 kB / 1.192 GB, free: 416 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.506e-05/1.019, allocations: 25.31 kB / 1.192 GB, free: 404 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007539/1.02, allocations: 318.9 kB / 1.193 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/1.02, allocations: 6.156 kB / 1.193 GB, free: 204 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/1.02, allocations: 5.188 kB / 1.193 GB, free: 200 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/1.02, allocations: 0 / 1.193 GB, free: 200 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/1.021, allocations: 0.9324 MB / 1.194 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/1.021, allocations: 1.812 kB / 1.194 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/1.022, allocations: 55.64 kB / 1.194 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/1.022, allocations: 7.562 kB / 1.194 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/1.022, allocations: 3.125 kB / 1.194 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/1.022, allocations: 3.906 kB / 1.194 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.022, allocations: 2.578 kB / 1.194 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009893/1.023, allocations: 0.558 MB / 1.194 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/1.023, allocations: 123.8 kB / 1.194 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.449e-05/1.023, allocations: 12.11 kB / 1.194 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/1.023, allocations: 18.98 kB / 1.194 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.938e-05/1.023, allocations: 32.22 kB / 1.194 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/1.023, allocations: 7.938 kB / 1.194 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001824/1.023, allocations: 193.1 kB / 1.195 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.41e-07/1.023, allocations: 0 / 1.195 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005112/1.024, allocations: 109.5 kB / 1.195 GB, free: 14.67 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.0004912/1.024, allocations: 207.6 kB / 1.195 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006524/1.025, allocations: 252.3 kB / 1.195 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.025, allocations: 7.062 kB / 1.195 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003223/1.025, allocations: 134.8 kB / 1.195 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007054/1.026, allocations: 132.8 kB / 1.195 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/1.027, allocations: 0.6033 MB / 1.196 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/1.027, allocations: 0.7825 MB / 1.197 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002223/1.028, allocations: 61.41 kB / 1.197 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/1.028, allocations: 27 kB / 1.197 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of SimCode: time 5.31e-07/1.028, allocations: 0 / 1.197 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of Templates: time 0.01057/1.038, allocations: 5.949 MB / 1.203 GB, free: 10.14 MB / 0.9044 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 -s gbode -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