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.001502/0.001502, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001682/0.001682, allocations: 195.9 kB / 16.26 MB, free: 6.625 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.429/1.429, allocations: 222.9 MB / 239.9 MB, free: 4.469 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.731/2.731, allocations: 437 MB / 0.71 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 63.91 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7981/0.7996, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1888/0.9884, allocations: 163 MB / 1.176 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002819/0.9913, allocations: 1.542 MB / 1.178 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002545/0.9916, allocations: 11.94 kB / 1.178 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004192/0.992, allocations: 123.2 kB / 1.178 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001136/0.9932, allocations: 442.2 kB / 1.178 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001898/0.9951, allocations: 0.6931 MB / 1.179 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008455/0.9959, allocations: 0.7059 MB / 1.179 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004195/0.9964, allocations: 250.6 kB / 1.18 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005358/0.9969, allocations: 318.8 kB / 1.18 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002927/0.9972, allocations: 243.1 kB / 1.18 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.092e-05/0.9973, allocations: 24 kB / 1.18 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.9986, allocations: 0.8923 MB / 1.181 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.9988, allocations: 115.7 kB / 1.181 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.9989, allocations: 155.3 kB / 1.181 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001041/1, allocations: 0.7869 MB / 1.182 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1, allocations: 4 kB / 1.182 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.204e-06/1, allocations: 0 / 1.182 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.955e-06/1, allocations: 0 / 1.182 GB, free: 8.805 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.001272/1.001, allocations: 0.674 MB / 1.183 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/1.001, allocations: 12.03 kB / 1.183 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005529/1.002, allocations: 87.48 kB / 1.183 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003905/1.002, allocations: 297.9 kB / 1.183 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/1.002, allocations: 20.56 kB / 1.183 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.994e-05/1.002, allocations: 24 kB / 1.183 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006427/1.003, allocations: 324.2 kB / 1.184 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/1.003, allocations: 0 / 1.184 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.034e-05/1.003, allocations: 12 kB / 1.184 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/1.003, allocations: 15.92 kB / 1.184 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007007/1.004, allocations: 289.5 kB / 1.184 GB, free: 6.973 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.001566/1.005, allocations: 1.059 MB / 1.185 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009146/1.006, allocations: 327.6 kB / 1.185 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003197/1.007, allocations: 132.8 kB / 1.185 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006824/1.007, allocations: 400.3 kB / 1.186 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/1.007, allocations: 30.56 kB / 1.186 GB, free: 4.863 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=19): time 1.503e-06/1.007, allocations: 7.875 kB / 1.186 GB, free: 4.855 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.001198/1.009, allocations: 410.7 kB / 1.186 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/1.009, allocations: 55.41 kB / 1.186 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/1.009, allocations: 270.9 kB / 1.186 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/1.009, allocations: 25.7 kB / 1.186 GB, free: 4.078 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/1.009, allocations: 176.2 kB / 1.187 GB, free: 3.902 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.301e-05/1.009, allocations: 59.11 kB / 1.187 GB, free: 3.844 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.528e-05/1.009, allocations: 49.61 kB / 1.187 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001133/1.009, allocations: 334.8 kB / 1.187 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/1.01, allocations: 103.9 kB / 1.187 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003457/1.01, allocations: 163.3 kB / 1.187 GB, free: 3.172 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006152/1.011, allocations: 278.7 kB / 1.188 GB, free: 2.883 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/1.011, allocations: 0 / 1.188 GB, free: 2.883 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007329/1.011, allocations: 311 kB / 1.188 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/1.011, allocations: 8 kB / 1.188 GB, free: 2.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/1.011, allocations: 0 / 1.188 GB, free: 2.566 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/1.011, allocations: 7.938 kB / 1.188 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002847/1.012, allocations: 64.11 kB / 1.188 GB, free: 2.496 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/1.012, allocations: 4 kB / 1.188 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000267/1.012, allocations: 47.66 kB / 1.188 GB, free: 2.445 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/1.012, allocations: 8.031 kB / 1.188 GB, free: 2.438 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.0001564/1.012, allocations: 153.8 kB / 1.188 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.769e-05/1.012, allocations: 35.64 kB / 1.188 GB, free: 2.242 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007859/1.013, allocations: 311.6 kB / 1.188 GB, free: 1.926 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/1.013, allocations: 3.938 kB / 1.188 GB, free: 1.922 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/1.013, allocations: 0 / 1.188 GB, free: 1.922 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/1.013, allocations: 0 / 1.188 GB, free: 1.922 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/1.015, allocations: 0.9368 MB / 1.189 GB, free: 0.8789 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/1.015, allocations: 4 kB / 1.189 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/1.015, allocations: 51.89 kB / 1.189 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/1.015, allocations: 0 / 1.189 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/1.015, allocations: 8 kB / 1.189 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/1.015, allocations: 4.188 kB / 1.189 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/1.015, allocations: 7.938 kB / 1.189 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/1.016, allocations: 0.5603 MB / 1.19 GB, free: 216 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/1.016, allocations: 124.7 kB / 1.19 GB, free: 72 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/1.016, allocations: 4 kB / 1.19 GB, free: 68 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/1.016, allocations: 28.03 kB / 1.19 GB, free: 40 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.285e-05/1.017, allocations: 23.91 kB / 1.19 GB, free: 16 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/1.017, allocations: 12 kB / 1.19 GB, free: 4 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000182/1.017, allocations: 190 kB / 1.19 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/1.017, allocations: 0 / 1.19 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004486/1.017, allocations: 115.8 kB / 1.19 GB, free: 15.71 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.0004393/1.018, allocations: 197.8 kB / 1.191 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007468/1.018, allocations: 263.7 kB / 1.191 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.018, allocations: 0 / 1.191 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003632/1.019, allocations: 140.5 kB / 1.191 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007605/1.02, allocations: 138.8 kB / 1.191 GB, free: 15 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/1.021, allocations: 0.7035 MB / 1.192 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/1.021, allocations: 0.7794 MB / 1.193 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002499/1.021, allocations: 70.22 kB / 1.193 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.694e-05/1.021, allocations: 27.44 kB / 1.193 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of SimCode: time 2.41e-07/1.021, allocations: 0 / 1.193 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of Templates: time 0.00988/1.031, allocations: 5.747 MB / 1.198 GB, free: 7.68 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/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