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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.007416/0.007416, allocations: 96.31 kB / 15.73 MB, free: 6.039 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.001659/0.001659, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.627/2.627, allocations: 437 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.91 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3464, allocations: 151.6 MB / 1.167 GB, free: 6.785 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.957/1.303, allocations: 165.3 MB / 1.328 GB, free: 4.93 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003541/1.307, allocations: 1.545 MB / 1.33 GB, free: 3.855 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003904/1.307, allocations: 10.16 kB / 1.33 GB, free: 3.852 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005621/1.308, allocations: 147.1 kB / 1.33 GB, free: 3.75 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001546/1.31, allocations: 490.7 kB / 1.33 GB, free: 3.492 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002587/1.312, allocations: 0.7707 MB / 1.331 GB, free: 3.113 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001136/1.313, allocations: 0.7055 MB / 1.332 GB, free: 2.797 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004926/1.314, allocations: 260.2 kB / 1.332 GB, free: 2.699 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006466/1.315, allocations: 323.2 kB / 1.332 GB, free: 2.559 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003305/1.315, allocations: 229.2 kB / 1.332 GB, free: 2.457 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.283e-05/1.315, allocations: 25.72 kB / 1.332 GB, free: 2.457 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001774/1.317, allocations: 0.8708 MB / 1.333 GB, free: 2.129 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001409/1.317, allocations: 110.9 kB / 1.333 GB, free: 2.086 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001733/1.317, allocations: 161.3 kB / 1.333 GB, free: 1.992 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001178/1.318, allocations: 0.7399 MB / 1.334 GB, free: 1.75 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.318, allocations: 0 / 1.334 GB, free: 1.75 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.823e-06/1.318, allocations: 0 / 1.334 GB, free: 1.75 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.464e-06/1.318, allocations: 4 kB / 1.334 GB, free: 1.746 MB / 1.014 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.001355/1.32, allocations: 0.6847 MB / 1.335 GB, free: 1.188 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/1.32, allocations: 9.062 kB / 1.335 GB, free: 1.188 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005391/1.32, allocations: 92.58 kB / 1.335 GB, free: 1.156 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005561/1.321, allocations: 313.8 kB / 1.335 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/1.321, allocations: 17.84 kB / 1.335 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.138e-05/1.321, allocations: 23.94 kB / 1.335 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007185/1.322, allocations: 338.3 kB / 1.336 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/1.322, allocations: 0 / 1.336 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/1.322, allocations: 7.281 kB / 1.336 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/1.322, allocations: 8.562 kB / 1.336 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007092/1.322, allocations: 285.9 kB / 1.336 GB, free: 0.6484 MB / 1.014 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.001787/1.324, allocations: 1.076 MB / 1.337 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008986/1.325, allocations: 318.8 kB / 1.337 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003277/1.325, allocations: 138.1 kB / 1.337 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007584/1.326, allocations: 392.7 kB / 1.338 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/1.326, allocations: 43.94 kB / 1.338 GB, free: 15.28 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.372e-06/1.326, allocations: 0 / 1.338 GB, free: 15.28 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001207/1.327, allocations: 406.8 kB / 1.338 GB, free: 15.15 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/1.328, allocations: 57.81 kB / 1.338 GB, free: 15.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/1.328, allocations: 269 kB / 1.339 GB, free: 14.94 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/1.328, allocations: 31.08 kB / 1.339 GB, free: 14.9 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/1.328, allocations: 171 kB / 1.339 GB, free: 14.76 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.737e-05/1.328, allocations: 70.06 kB / 1.339 GB, free: 14.71 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.91e-05/1.328, allocations: 44.84 kB / 1.339 GB, free: 14.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.328, allocations: 338.8 kB / 1.339 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000305/1.329, allocations: 104 kB / 1.339 GB, free: 14.33 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003348/1.329, allocations: 167.6 kB / 1.339 GB, free: 14.24 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006635/1.33, allocations: 268.6 kB / 1.34 GB, free: 14.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.33, allocations: 5.281 kB / 1.34 GB, free: 14.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007254/1.33, allocations: 316.8 kB / 1.34 GB, free: 14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/1.33, allocations: 5.344 kB / 1.34 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/1.33, allocations: 1.125 kB / 1.34 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/1.33, allocations: 7.125 kB / 1.34 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/1.331, allocations: 60.73 kB / 1.34 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/1.331, allocations: 2.719 kB / 1.34 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000266/1.331, allocations: 43.94 kB / 1.34 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.424e-05/1.331, allocations: 11.31 kB / 1.34 GB, free: 13.96 MB / 1.029 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.0001601/1.331, allocations: 149.4 kB / 1.34 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.542e-05/1.331, allocations: 32.89 kB / 1.34 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008117/1.332, allocations: 316.3 kB / 1.341 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.096e-06/1.332, allocations: 8.391 kB / 1.341 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.332, allocations: 1.031 kB / 1.341 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.332, allocations: 0 / 1.341 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/1.334, allocations: 0.9289 MB / 1.342 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/1.334, allocations: 1.344 kB / 1.342 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/1.334, allocations: 50.67 kB / 1.342 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/1.334, allocations: 2.375 kB / 1.342 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/1.334, allocations: 8.094 kB / 1.342 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/1.334, allocations: 2.75 kB / 1.342 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.334, allocations: 3.188 kB / 1.342 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/1.335, allocations: 0.5616 MB / 1.342 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/1.335, allocations: 129.7 kB / 1.342 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.046e-05/1.335, allocations: 6.594 kB / 1.342 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/1.336, allocations: 26.08 kB / 1.342 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.398e-05/1.336, allocations: 27.44 kB / 1.342 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/1.336, allocations: 7.344 kB / 1.342 GB, free: 12.55 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000188/1.336, allocations: 195.3 kB / 1.342 GB, free: 12.45 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/1.336, allocations: 0 / 1.342 GB, free: 12.45 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005775/1.337, allocations: 106.7 kB / 1.343 GB, free: 12.42 MB / 1.029 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.0005011/1.337, allocations: 212.9 kB / 1.343 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007269/1.338, allocations: 260.2 kB / 1.343 GB, free: 12.23 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/1.338, allocations: 0 / 1.343 GB, free: 12.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003684/1.338, allocations: 139.3 kB / 1.343 GB, free: 12.19 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000775/1.339, allocations: 137 kB / 1.343 GB, free: 12.14 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/1.34, allocations: 0.6011 MB / 1.344 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005817/1.341, allocations: 0.7872 MB / 1.345 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002414/1.341, allocations: 62.78 kB / 1.345 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.133e-05/1.341, allocations: 27.98 kB / 1.345 GB, free: 11.02 MB / 1.029 GB Notification: Performance of SimCode: time 5.21e-07/1.341, allocations: 0 / 1.345 GB, free: 11.02 MB / 1.029 GB Notification: Performance of Templates: time 0.01266/1.354, allocations: 5.992 MB / 1.351 GB, free: 10.01 MB / 1.029 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches