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.001383/0.001383, allocations: 109.1 kB / 16.41 MB, free: 6.5 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.001755/0.001755, allocations: 183 kB / 17.34 MB, free: 5.762 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.357/1.357, 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.1-maint.10.0.x/package.mo): time 2.47/2.47, allocations: 437 MB / 0.7112 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.89 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8205/0.8218, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1657/0.9876, allocations: 165.3 MB / 1.329 GB, free: 13.96 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002738/0.9904, allocations: 1.555 MB / 1.33 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000312/0.9907, allocations: 11.94 kB / 1.33 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004431/0.9912, allocations: 146.9 kB / 1.33 GB, free: 12.24 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001156/0.9924, allocations: 485.8 kB / 1.331 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001757/0.9941, allocations: 0.7662 MB / 1.332 GB, free: 11 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007745/0.9949, allocations: 0.7059 MB / 1.332 GB, free: 10.29 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003822/0.9953, allocations: 266.7 kB / 1.333 GB, free: 10.03 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004885/0.9958, allocations: 306.9 kB / 1.333 GB, free: 9.727 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002728/0.9961, allocations: 235 kB / 1.333 GB, free: 9.496 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.26e-05/0.9962, allocations: 24 kB / 1.333 GB, free: 9.473 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001347/0.9975, allocations: 0.873 MB / 1.334 GB, free: 8.598 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.9977, allocations: 111.7 kB / 1.334 GB, free: 8.488 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.9978, allocations: 159.2 kB / 1.334 GB, free: 8.332 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.9989, allocations: 0.7406 MB / 1.335 GB, free: 7.594 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.9989, allocations: 0 / 1.335 GB, free: 7.594 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.442e-06/0.9989, allocations: 3.938 kB / 1.335 GB, free: 7.59 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.9989, allocations: 0 / 1.335 GB, free: 7.59 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.001116/1, allocations: 0.6927 MB / 1.336 GB, free: 6.844 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/1, allocations: 12.86 kB / 1.336 GB, free: 6.832 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004863/1.001, allocations: 87.64 kB / 1.336 GB, free: 6.746 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000423/1.001, allocations: 314.1 kB / 1.336 GB, free: 6.402 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/1.001, allocations: 20.5 kB / 1.336 GB, free: 6.383 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.91e-05/1.001, allocations: 24 kB / 1.336 GB, free: 6.359 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006168/1.002, allocations: 328.2 kB / 1.336 GB, free: 6.027 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/1.002, allocations: 0 / 1.336 GB, free: 6.027 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.177e-05/1.002, allocations: 12 kB / 1.336 GB, free: 6.016 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.507e-06/1.002, allocations: 7.938 kB / 1.336 GB, free: 6.008 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006497/1.002, allocations: 289.5 kB / 1.337 GB, free: 5.723 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.001525/1.004, allocations: 1.071 MB / 1.338 GB, free: 4.586 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008607/1.005, allocations: 331.6 kB / 1.338 GB, free: 4.234 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003059/1.005, allocations: 138.8 kB / 1.338 GB, free: 4.098 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006442/1.006, allocations: 392.3 kB / 1.339 GB, free: 3.641 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/1.006, allocations: 34.56 kB / 1.339 GB, free: 3.598 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.733e-06/1.006, allocations: 0 / 1.339 GB, free: 3.598 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001155/1.007, allocations: 413.1 kB / 1.339 GB, free: 3.188 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/1.007, allocations: 55.39 kB / 1.339 GB, free: 3.121 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/1.007, allocations: 267 kB / 1.339 GB, free: 2.855 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/1.007, allocations: 25.7 kB / 1.339 GB, free: 2.824 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/1.007, allocations: 176.3 kB / 1.339 GB, free: 2.648 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.19e-05/1.008, allocations: 71.41 kB / 1.34 GB, free: 2.578 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.697e-05/1.008, allocations: 45.7 kB / 1.34 GB, free: 2.527 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001094/1.008, allocations: 334.8 kB / 1.34 GB, free: 2.191 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/1.008, allocations: 103.9 kB / 1.34 GB, free: 2.09 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003177/1.008, allocations: 161.9 kB / 1.34 GB, free: 1.91 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005597/1.009, allocations: 267 kB / 1.34 GB, free: 1.633 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/1.009, allocations: 4 kB / 1.34 GB, free: 1.629 MB / 1.061 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006872/1.01, allocations: 315.1 kB / 1.341 GB, free: 1.316 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/1.01, allocations: 11.98 kB / 1.341 GB, free: 1.305 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/1.01, allocations: 3.938 kB / 1.341 GB, free: 1.301 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/1.01, allocations: 7.938 kB / 1.341 GB, free: 1.293 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/1.01, allocations: 52.12 kB / 1.341 GB, free: 1.242 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/1.01, allocations: 7.984 kB / 1.341 GB, free: 1.234 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/1.01, allocations: 43.75 kB / 1.341 GB, free: 1.191 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/1.01, allocations: 12 kB / 1.341 GB, free: 1.18 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.0001438/1.01, allocations: 145.8 kB / 1.341 GB, free: 1.027 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/1.01, allocations: 23.86 kB / 1.341 GB, free: 1.004 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007535/1.011, allocations: 331.5 kB / 1.341 GB, free: 0.6641 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/1.011, allocations: 3.938 kB / 1.341 GB, free: 0.6602 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.011, allocations: 4 kB / 1.341 GB, free: 0.6562 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/1.011, allocations: 0 / 1.341 GB, free: 0.6562 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/1.013, allocations: 0.9306 MB / 1.342 GB, free: 15.62 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/1.013, allocations: 4 kB / 1.342 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/1.013, allocations: 47.95 kB / 1.342 GB, free: 15.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/1.013, allocations: 0 / 1.342 GB, free: 15.57 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/1.013, allocations: 8 kB / 1.342 GB, free: 15.56 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/1.013, allocations: 7.938 kB / 1.342 GB, free: 15.55 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.07e-05/1.013, allocations: 4.062 kB / 1.342 GB, free: 15.55 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/1.014, allocations: 0.5651 MB / 1.343 GB, free: 14.95 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/1.014, allocations: 128.8 kB / 1.343 GB, free: 14.8 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.289e-05/1.014, allocations: 7.984 kB / 1.343 GB, free: 14.8 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/1.015, allocations: 15.98 kB / 1.343 GB, free: 14.78 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.273e-05/1.015, allocations: 27.97 kB / 1.343 GB, free: 14.75 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/1.015, allocations: 12 kB / 1.343 GB, free: 14.74 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001657/1.015, allocations: 190 kB / 1.343 GB, free: 14.56 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.4e-07/1.015, allocations: 0 / 1.343 GB, free: 14.56 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004462/1.015, allocations: 111.8 kB / 1.343 GB, free: 14.45 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.0004864/1.016, allocations: 211.6 kB / 1.344 GB, free: 14.25 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006642/1.016, allocations: 247.7 kB / 1.344 GB, free: 14 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.016, allocations: 320 / 1.344 GB, free: 14 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003255/1.017, allocations: 147.8 kB / 1.344 GB, free: 13.86 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006696/1.017, allocations: 125.5 kB / 1.344 GB, free: 13.74 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/1.019, allocations: 0.6485 MB / 1.345 GB, free: 13.04 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/1.019, allocations: 0.7794 MB / 1.345 GB, free: 12.24 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.082e-05/1.019, allocations: 27.44 kB / 1.345 GB, free: 12.21 MB / 1.076 GB Notification: Performance of SimCode: time 3.6e-07/1.019, allocations: 0 / 1.345 GB, free: 12.21 MB / 1.076 GB Notification: Performance of Templates: time 0.007722/1.027, allocations: 5.134 MB / 1.35 GB, free: 7.113 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/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