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.005306/0.005306, allocations: 97.78 kB / 15.73 MB, free: 5.961 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.001222/0.001222, allocations: 195 kB / 16.67 MB, free: 5.883 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.561/2.561, allocations: 437 MB / 0.7105 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 67.88 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8681/0.8693, allocations: 151.6 MB / 1.167 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1957/1.065, allocations: 165.3 MB / 1.328 GB, free: 13.89 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00341/1.069, allocations: 1.552 MB / 1.33 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004236/1.069, allocations: 7.938 kB / 1.33 GB, free: 12.33 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005298/1.07, allocations: 146.9 kB / 1.33 GB, free: 12.19 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001498/1.071, allocations: 469.8 kB / 1.33 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002172/1.073, allocations: 0.7586 MB / 1.331 GB, free: 10.97 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001041/1.074, allocations: 0.7059 MB / 1.332 GB, free: 10.26 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004673/1.075, allocations: 262.7 kB / 1.332 GB, free: 10 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005754/1.075, allocations: 310.8 kB / 1.332 GB, free: 9.699 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003076/1.076, allocations: 223.1 kB / 1.332 GB, free: 9.48 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.75e-05/1.076, allocations: 31.94 kB / 1.332 GB, free: 9.449 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001686/1.077, allocations: 0.8652 MB / 1.333 GB, free: 8.582 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001569/1.078, allocations: 107.7 kB / 1.333 GB, free: 8.477 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001739/1.078, allocations: 155.3 kB / 1.333 GB, free: 8.324 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001346/1.079, allocations: 0.7483 MB / 1.334 GB, free: 7.578 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/1.079, allocations: 0 / 1.334 GB, free: 7.578 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.244e-06/1.079, allocations: 0 / 1.334 GB, free: 7.578 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.212e-05/1.079, allocations: 0 / 1.334 GB, free: 7.578 MB / 1.061 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.001225/1.08, allocations: 0.6888 MB / 1.335 GB, free: 6.836 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/1.081, allocations: 8.625 kB / 1.335 GB, free: 6.828 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005113/1.081, allocations: 91.64 kB / 1.335 GB, free: 6.738 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004603/1.082, allocations: 314 kB / 1.335 GB, free: 6.395 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/1.082, allocations: 16.56 kB / 1.335 GB, free: 6.379 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.162e-05/1.082, allocations: 24 kB / 1.335 GB, free: 6.355 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006896/1.082, allocations: 332.2 kB / 1.336 GB, free: 6.02 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/1.082, allocations: 3.938 kB / 1.336 GB, free: 6.016 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.835e-05/1.082, allocations: 12 kB / 1.336 GB, free: 6.004 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/1.082, allocations: 11.94 kB / 1.336 GB, free: 5.992 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007906/1.083, allocations: 289.5 kB / 1.336 GB, free: 5.707 MB / 1.061 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.001683/1.085, allocations: 1.067 MB / 1.337 GB, free: 4.574 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008992/1.086, allocations: 333.4 kB / 1.337 GB, free: 4.223 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00038/1.086, allocations: 132.8 kB / 1.337 GB, free: 4.09 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000666/1.087, allocations: 392.3 kB / 1.338 GB, free: 3.633 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/1.087, allocations: 34.56 kB / 1.338 GB, free: 3.59 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 3.637e-06/1.087, allocations: 0 / 1.338 GB, free: 3.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001291/1.088, allocations: 419.3 kB / 1.338 GB, free: 3.176 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/1.088, allocations: 55.41 kB / 1.338 GB, free: 3.109 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/1.089, allocations: 263 kB / 1.338 GB, free: 2.848 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/1.089, allocations: 33.7 kB / 1.339 GB, free: 2.809 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/1.089, allocations: 168.3 kB / 1.339 GB, free: 2.641 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.177e-05/1.089, allocations: 71.42 kB / 1.339 GB, free: 2.57 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.955e-05/1.089, allocations: 49.7 kB / 1.339 GB, free: 2.516 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000126/1.089, allocations: 330.8 kB / 1.339 GB, free: 2.184 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003033/1.089, allocations: 103.9 kB / 1.339 GB, free: 2.082 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003545/1.09, allocations: 169.8 kB / 1.339 GB, free: 1.895 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006877/1.09, allocations: 268.9 kB / 1.34 GB, free: 1.613 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/1.09, allocations: 3.938 kB / 1.34 GB, free: 1.609 MB / 1.061 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000743/1.091, allocations: 319.6 kB / 1.34 GB, free: 1.293 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/1.091, allocations: 6.344 kB / 1.34 GB, free: 1.289 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/1.091, allocations: 0 / 1.34 GB, free: 1.289 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/1.091, allocations: 7.938 kB / 1.34 GB, free: 1.281 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/1.091, allocations: 55.89 kB / 1.34 GB, free: 1.227 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/1.091, allocations: 4.156 kB / 1.34 GB, free: 1.223 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/1.092, allocations: 47.75 kB / 1.34 GB, free: 1.176 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/1.092, allocations: 12 kB / 1.34 GB, free: 1.164 MB / 1.061 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.0001603/1.092, allocations: 153.7 kB / 1.34 GB, free: 1.004 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.579e-05/1.092, allocations: 27.84 kB / 1.34 GB, free: 0.9766 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008039/1.093, allocations: 311.6 kB / 1.341 GB, free: 0.6562 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/1.093, allocations: 7.938 kB / 1.341 GB, free: 0.6484 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/1.093, allocations: 0 / 1.341 GB, free: 0.6484 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/1.093, allocations: 3.984 kB / 1.341 GB, free: 0.6445 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/1.094, allocations: 0.9213 MB / 1.341 GB, free: 15.62 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/1.094, allocations: 4.188 kB / 1.341 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002651/1.095, allocations: 51.89 kB / 1.342 GB, free: 15.56 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/1.095, allocations: 4 kB / 1.342 GB, free: 15.56 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/1.095, allocations: 12.06 kB / 1.342 GB, free: 15.55 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/1.095, allocations: 0 / 1.342 GB, free: 15.55 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.095, allocations: 4 kB / 1.342 GB, free: 15.54 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/1.096, allocations: 0.5646 MB / 1.342 GB, free: 14.95 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/1.096, allocations: 128.9 kB / 1.342 GB, free: 14.8 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.309e-05/1.096, allocations: 8 kB / 1.342 GB, free: 14.79 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/1.096, allocations: 23.97 kB / 1.342 GB, free: 14.77 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.13e-05/1.096, allocations: 15.92 kB / 1.342 GB, free: 14.75 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/1.096, allocations: 16.06 kB / 1.342 GB, free: 14.74 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001709/1.097, allocations: 189.9 kB / 1.342 GB, free: 14.55 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/1.097, allocations: 3.938 kB / 1.342 GB, free: 14.55 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004687/1.097, allocations: 111.8 kB / 1.343 GB, free: 14.44 MB / 1.076 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.000495/1.098, allocations: 199.8 kB / 1.343 GB, free: 14.24 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0008121/1.098, allocations: 255.7 kB / 1.343 GB, free: 13.99 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.098, allocations: 0 / 1.343 GB, free: 13.99 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003628/1.099, allocations: 150.1 kB / 1.343 GB, free: 13.85 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007348/1.1, allocations: 123.6 kB / 1.343 GB, free: 13.73 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/1.101, allocations: 0.6104 MB / 1.344 GB, free: 13.07 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004341/1.101, allocations: 0.7716 MB / 1.345 GB, free: 12.28 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002284/1.101, allocations: 74.23 kB / 1.345 GB, free: 12.2 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.373e-05/1.101, allocations: 27.44 kB / 1.345 GB, free: 12.18 MB / 1.076 GB Notification: Performance of SimCode: time 4.81e-07/1.101, allocations: 3.938 kB / 1.345 GB, free: 12.18 MB / 1.076 GB Notification: Performance of Templates: time 0.01313/1.115, allocations: 5.999 MB / 1.351 GB, free: 6.262 MB / 1.076 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