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.002027/0.002027, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002023/0.002023, allocations: 194 kB / 16.53 MB, free: 6.664 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.417/1.417, allocations: 222.9 MB / 240.2 MB, free: 4.367 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.728/2.728, allocations: 437 MB / 0.7103 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002713/0.002713, allocations: 67.88 kB / 0.8692 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8372/0.84, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1959/1.036, allocations: 165.3 MB / 1.179 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00321/1.039, allocations: 1.55 MB / 1.18 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003164/1.04, allocations: 11.94 kB / 1.18 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005021/1.04, allocations: 150.9 kB / 1.18 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001289/1.041, allocations: 457.8 kB / 1.181 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001855/1.043, allocations: 0.7492 MB / 1.182 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007795/1.044, allocations: 0.7098 MB / 1.182 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004675/1.045, allocations: 262.6 kB / 1.182 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005532/1.045, allocations: 314.8 kB / 1.183 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002778/1.045, allocations: 227.1 kB / 1.183 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.48e-05/1.045, allocations: 24 kB / 1.183 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001619/1.047, allocations: 0.8574 MB / 1.184 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000135/1.047, allocations: 115.6 kB / 1.184 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001758/1.047, allocations: 159.2 kB / 1.184 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001222/1.049, allocations: 0.7325 MB / 1.185 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.049, allocations: 0 / 1.185 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.252e-06/1.049, allocations: 0 / 1.185 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.165e-06/1.049, allocations: 0 / 1.185 GB, free: 6.273 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.001262/1.05, allocations: 0.6818 MB / 1.185 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/1.05, allocations: 8.031 kB / 1.185 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005/1.05, allocations: 79.52 kB / 1.186 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003983/1.051, allocations: 305.9 kB / 1.186 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/1.051, allocations: 20.56 kB / 1.186 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.873e-05/1.051, allocations: 24 kB / 1.186 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006589/1.052, allocations: 324.2 kB / 1.186 GB, free: 4.742 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/1.052, allocations: 4 kB / 1.186 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/1.052, allocations: 8 kB / 1.186 GB, free: 4.73 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/1.052, allocations: 11.94 kB / 1.186 GB, free: 4.719 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007141/1.052, allocations: 289.5 kB / 1.186 GB, free: 4.438 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.001645/1.054, allocations: 1.067 MB / 1.188 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009084/1.055, allocations: 327.6 kB / 1.188 GB, free: 2.957 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003266/1.055, allocations: 132.8 kB / 1.188 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006624/1.056, allocations: 396.3 kB / 1.188 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/1.056, allocations: 30.56 kB / 1.188 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=19): time 3.006e-06/1.056, allocations: 0 / 1.188 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.001255/1.057, allocations: 414.5 kB / 1.189 GB, free: 1.914 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/1.057, allocations: 55.41 kB / 1.189 GB, free: 1.848 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002713/1.058, allocations: 267 kB / 1.189 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/1.058, allocations: 29.7 kB / 1.189 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/1.058, allocations: 180 kB / 1.189 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.699e-05/1.058, allocations: 59.11 kB / 1.189 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.954e-05/1.058, allocations: 53.61 kB / 1.189 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001424/1.058, allocations: 330.8 kB / 1.19 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003088/1.058, allocations: 103.9 kB / 1.19 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003604/1.059, allocations: 161.9 kB / 1.19 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006342/1.059, allocations: 283.9 kB / 1.19 GB, free: 352 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.059, allocations: 0 / 1.19 GB, free: 352 kB / 0.9356 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007373/1.06, allocations: 313.1 kB / 1.191 GB, free: 32 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/1.06, allocations: 4 kB / 1.191 GB, free: 28 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/1.06, allocations: 3.938 kB / 1.191 GB, free: 24 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/1.06, allocations: 7.938 kB / 1.191 GB, free: 16 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003033/1.061, allocations: 56.17 kB / 1.191 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/1.061, allocations: 7.938 kB / 1.191 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/1.061, allocations: 43.59 kB / 1.191 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-05/1.061, allocations: 8 kB / 1.191 GB, free: 15.9 MB / 0.9512 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.0001485/1.061, allocations: 149.8 kB / 1.191 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.564e-05/1.061, allocations: 27.72 kB / 1.191 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008501/1.062, allocations: 321.9 kB / 1.191 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/1.062, allocations: 7.984 kB / 1.191 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/1.062, allocations: 3.984 kB / 1.191 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/1.062, allocations: 0 / 1.191 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/1.064, allocations: 0.9329 MB / 1.192 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/1.064, allocations: 0 / 1.192 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002795/1.064, allocations: 47.91 kB / 1.192 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/1.064, allocations: 7.984 kB / 1.192 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/1.064, allocations: 4 kB / 1.192 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/1.064, allocations: 4 kB / 1.192 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.064, allocations: 4 kB / 1.192 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/1.065, allocations: 0.5626 MB / 1.193 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/1.065, allocations: 128.7 kB / 1.193 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.736e-05/1.065, allocations: 8 kB / 1.193 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/1.065, allocations: 19.97 kB / 1.193 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/1.066, allocations: 23.98 kB / 1.193 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/1.066, allocations: 11.98 kB / 1.193 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002086/1.066, allocations: 190 kB / 1.193 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/1.066, allocations: 0 / 1.193 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005534/1.066, allocations: 103.8 kB / 1.193 GB, free: 13.19 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.0005324/1.067, allocations: 211.2 kB / 1.193 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007103/1.068, allocations: 265.8 kB / 1.194 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.068, allocations: 8.062 kB / 1.194 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003338/1.068, allocations: 135.8 kB / 1.194 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007293/1.069, allocations: 126.6 kB / 1.194 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/1.07, allocations: 0.6013 MB / 1.194 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/1.07, allocations: 0.7872 MB / 1.195 GB, free: 11 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002433/1.071, allocations: 62.25 kB / 1.195 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.525e-05/1.071, allocations: 31.36 kB / 1.195 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of SimCode: time 2.71e-07/1.071, allocations: 4 kB / 1.195 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of Templates: time 0.01168/1.082, allocations: 5.94 MB / 1.201 GB, free: 5.055 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