Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.005436/0.005436, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001497/0.001497, allocations: 201.3 kB / 16.68 MB, free: 5.969 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.526/2.526, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 62.86 kB / 0.9509 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3089, allocations: 140.4 MB / 1.088 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1875/0.4965, allocations: 165.3 MB / 1.249 GB, free: 11.56 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003065/0.4996, allocations: 1.552 MB / 1.251 GB, free: 10 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002604/0.4999, allocations: 15.88 kB / 1.251 GB, free: 9.988 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005174/0.5004, allocations: 147 kB / 1.251 GB, free: 9.844 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00127/0.5017, allocations: 489.8 kB / 1.251 GB, free: 9.363 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001794/0.5035, allocations: 0.7654 MB / 1.252 GB, free: 8.598 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0007541/0.5043, allocations: 0.7059 MB / 1.253 GB, free: 7.887 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000403/0.5047, allocations: 254.6 kB / 1.253 GB, free: 7.641 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005136/0.5052, allocations: 330.8 kB / 1.253 GB, free: 7.316 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.5055, allocations: 223.1 kB / 1.254 GB, free: 7.098 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.276e-05/0.5056, allocations: 24 kB / 1.254 GB, free: 7.074 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.507, allocations: 0.8691 MB / 1.255 GB, free: 6.203 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.5072, allocations: 119.6 kB / 1.255 GB, free: 6.086 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.5073, allocations: 155.2 kB / 1.255 GB, free: 5.934 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.5084, allocations: 0.7437 MB / 1.256 GB, free: 5.188 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.5085, allocations: 0 / 1.256 GB, free: 5.188 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5085, allocations: 0 / 1.256 GB, free: 5.188 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.5085, allocations: 0 / 1.256 GB, free: 5.188 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.001249/0.5097, allocations: 0.6888 MB / 1.256 GB, free: 4.445 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.5098, allocations: 11.97 kB / 1.256 GB, free: 4.434 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005154/0.5103, allocations: 83.69 kB / 1.256 GB, free: 4.352 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004752/0.5108, allocations: 326 kB / 1.257 GB, free: 3.996 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.5108, allocations: 16.56 kB / 1.257 GB, free: 3.98 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.428e-05/0.5109, allocations: 24 kB / 1.257 GB, free: 3.957 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007409/0.5116, allocations: 332.2 kB / 1.257 GB, free: 3.617 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.5117, allocations: 0 / 1.257 GB, free: 3.617 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/0.5117, allocations: 12 kB / 1.257 GB, free: 3.605 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.5117, allocations: 11.88 kB / 1.257 GB, free: 3.594 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007456/0.5125, allocations: 289.5 kB / 1.257 GB, free: 3.309 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.001705/0.5142, allocations: 1.06 MB / 1.258 GB, free: 2.188 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009584/0.5151, allocations: 327.7 kB / 1.259 GB, free: 1.84 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/0.5155, allocations: 132.8 kB / 1.259 GB, free: 1.707 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007099/0.5162, allocations: 404.2 kB / 1.259 GB, free: 1.238 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.5163, allocations: 30.56 kB / 1.259 GB, free: 1.199 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 1.493e-06/0.5163, allocations: 0 / 1.259 GB, free: 1.199 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.00132/0.5176, allocations: 406.4 kB / 1.26 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.5177, allocations: 51.41 kB / 1.26 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.518, allocations: 275 kB / 1.26 GB, free: 472 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.518, allocations: 29.7 kB / 1.26 GB, free: 436 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.5181, allocations: 172.3 kB / 1.26 GB, free: 260 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.252e-05/0.5182, allocations: 67.38 kB / 1.26 GB, free: 192 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.363e-05/0.5183, allocations: 49.66 kB / 1.26 GB, free: 136 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.766/1.284, allocations: 334.8 kB / 1.26 GB, free: 176 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006992/1.285, allocations: 104 kB / 1.261 GB, free: 176 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006724/1.286, allocations: 167.3 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/1.287, allocations: 269.8 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/1.287, allocations: 0.9062 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001528/1.289, allocations: 313.7 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/1.289, allocations: 5.562 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/1.289, allocations: 1.625 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.251e-05/1.289, allocations: 7.375 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005693/1.289, allocations: 62.7 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.73e-05/1.289, allocations: 3.656 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005398/1.29, allocations: 39.38 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.587e-05/1.29, allocations: 8 kB / 1.261 GB, free: 175.9 MB / 1.014 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.0002806/1.29, allocations: 152.7 kB / 1.262 GB, free: 175.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/1.29, allocations: 26.64 kB / 1.262 GB, free: 175.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/1.292, allocations: 319.1 kB / 1.262 GB, free: 175.7 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/1.292, allocations: 3.062 kB / 1.262 GB, free: 175.7 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.477e-06/1.292, allocations: 7.906 kB / 1.262 GB, free: 175.7 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/1.292, allocations: 4.875 kB / 1.262 GB, free: 175.7 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002835/1.295, allocations: 0.93 MB / 1.263 GB, free: 175.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/1.295, allocations: 1.875 kB / 1.263 GB, free: 175.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005059/1.295, allocations: 49.34 kB / 1.263 GB, free: 175.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/1.295, allocations: 3.203 kB / 1.263 GB, free: 175.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.492e-05/1.295, allocations: 7.781 kB / 1.263 GB, free: 175.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.036e-05/1.295, allocations: 7.172 kB / 1.263 GB, free: 175.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/1.296, allocations: 2.375 kB / 1.263 GB, free: 175.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002185/1.298, allocations: 0.5599 MB / 1.263 GB, free: 175 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002313/1.298, allocations: 122.5 kB / 1.264 GB, free: 174.9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.1e-05/1.298, allocations: 6.5 kB / 1.264 GB, free: 174.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004333/1.299, allocations: 29.31 kB / 1.264 GB, free: 174.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/1.299, allocations: 18.27 kB / 1.264 GB, free: 174.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.083e-05/1.299, allocations: 12.2 kB / 1.264 GB, free: 174.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003893/1.299, allocations: 194.4 kB / 1.264 GB, free: 174.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.21e-07/1.299, allocations: 1.969 kB / 1.264 GB, free: 174.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000927/1.3, allocations: 110.5 kB / 1.264 GB, free: 174.8 MB / 1.014 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.0007543/1.301, allocations: 204.9 kB / 1.264 GB, free: 174.7 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00145/1.302, allocations: 257.3 kB / 1.264 GB, free: 174.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/1.302, allocations: 0.75 kB / 1.264 GB, free: 174.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000753/1.303, allocations: 137.6 kB / 1.264 GB, free: 174.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/1.305, allocations: 132.2 kB / 1.265 GB, free: 174.7 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/1.306, allocations: 0.6013 MB / 1.265 GB, free: 174.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/1.307, allocations: 0.7825 MB / 1.266 GB, free: 173.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004665/1.307, allocations: 63.88 kB / 1.266 GB, free: 173.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/1.308, allocations: 27.02 kB / 1.266 GB, free: 173.7 MB / 1.014 GB Notification: Performance of SimCode: time 6.21e-07/1.308, allocations: 0 / 1.266 GB, free: 173.7 MB / 1.014 GB Notification: Performance of Templates: time 0.02801/1.336, allocations: 6.006 MB / 1.272 GB, free: 173.3 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches