Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.007522/0.007522, allocations: 102.8 kB / 15.73 MB, free: 5.984 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.001611/0.001611, allocations: 195.2 kB / 16.67 MB, free: 5.91 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.3 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.705/2.705, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 59.91 kB / 1.054 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.025, allocations: 157.4 MB / 1.208 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1975/1.223, allocations: 165.3 MB / 1.369 GB, free: 7.875 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.003114/1.226, allocations: 1.557 MB / 1.371 GB, free: 6.316 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000356/1.226, allocations: 11.94 kB / 1.371 GB, free: 6.305 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005759/1.227, allocations: 146.9 kB / 1.371 GB, free: 6.16 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001276/1.228, allocations: 461.8 kB / 1.371 GB, free: 5.707 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002038/1.23, allocations: 0.7626 MB / 1.372 GB, free: 4.945 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0008502/1.231, allocations: 0.7019 MB / 1.373 GB, free: 4.242 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004768/1.231, allocations: 270.7 kB / 1.373 GB, free: 3.973 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005518/1.232, allocations: 310.9 kB / 1.373 GB, free: 3.668 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000317/1.232, allocations: 227 kB / 1.373 GB, free: 3.445 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 4.173e-05/1.232, allocations: 24 kB / 1.373 GB, free: 3.422 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/1.234, allocations: 0.873 MB / 1.374 GB, free: 2.547 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001283/1.234, allocations: 111.7 kB / 1.374 GB, free: 2.438 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001869/1.234, allocations: 155.3 kB / 1.375 GB, free: 2.285 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001234/1.235, allocations: 0.7383 MB / 1.375 GB, free: 1.547 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.235, allocations: 0 / 1.375 GB, free: 1.547 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.636e-06/1.235, allocations: 0 / 1.375 GB, free: 1.547 MB / 1.092 GB Notification: Performance of Transformations before backend: time 8.165e-06/1.235, allocations: 3.938 kB / 1.375 GB, free: 1.543 MB / 1.092 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.001142/1.237, allocations: 0.674 MB / 1.376 GB, free: 0.8203 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/1.237, allocations: 8.031 kB / 1.376 GB, free: 0.8125 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000482/1.237, allocations: 91.5 kB / 1.376 GB, free: 0.7227 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004479/1.238, allocations: 309.8 kB / 1.376 GB, free: 392 kB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/1.238, allocations: 16.56 kB / 1.376 GB, free: 372 kB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.818e-05/1.238, allocations: 27.94 kB / 1.376 GB, free: 344 kB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007284/1.238, allocations: 332.3 kB / 1.377 GB, free: 15.99 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/1.238, allocations: 0 / 1.377 GB, free: 15.99 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/1.238, allocations: 11.94 kB / 1.377 GB, free: 15.98 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/1.238, allocations: 19.92 kB / 1.377 GB, free: 15.96 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007045/1.239, allocations: 277.5 kB / 1.377 GB, free: 15.7 MB / 1.107 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.00165/1.241, allocations: 1.059 MB / 1.378 GB, free: 14.57 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009332/1.242, allocations: 335.6 kB / 1.378 GB, free: 14.21 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003251/1.242, allocations: 132.8 kB / 1.378 GB, free: 14.08 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008936/1.243, allocations: 392.3 kB / 1.379 GB, free: 13.62 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/1.243, allocations: 30.56 kB / 1.379 GB, free: 13.59 MB / 1.107 GB Notification: Performance of pre-optimization done (n=19): time 2.535e-06/1.243, allocations: 8 kB / 1.379 GB, free: 13.58 MB / 1.107 GB Notification: Performance of matching and sorting (n=19): time 0.001837/1.245, allocations: 406.8 kB / 1.379 GB, free: 13.18 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/1.245, allocations: 63.34 kB / 1.379 GB, free: 13.1 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004011/1.245, allocations: 267 kB / 1.38 GB, free: 12.83 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/1.246, allocations: 33.7 kB / 1.38 GB, free: 12.79 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/1.246, allocations: 164.2 kB / 1.38 GB, free: 12.63 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 7.79e-05/1.246, allocations: 67 kB / 1.38 GB, free: 12.56 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/1.246, allocations: 45.7 kB / 1.38 GB, free: 12.51 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001612/1.246, allocations: 334.8 kB / 1.38 GB, free: 12.18 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004736/1.247, allocations: 107.9 kB / 1.38 GB, free: 12.07 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005369/1.247, allocations: 160.3 kB / 1.38 GB, free: 11.89 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009515/1.248, allocations: 267.3 kB / 1.381 GB, free: 11.62 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.248, allocations: 0 / 1.381 GB, free: 11.62 MB / 1.107 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001142/1.249, allocations: 321.2 kB / 1.381 GB, free: 11.3 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/1.249, allocations: 4 kB / 1.381 GB, free: 11.29 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/1.249, allocations: 0 / 1.381 GB, free: 11.29 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/1.249, allocations: 11.88 kB / 1.381 GB, free: 11.28 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004364/1.25, allocations: 55.95 kB / 1.381 GB, free: 11.23 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/1.25, allocations: 4 kB / 1.381 GB, free: 11.22 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003959/1.25, allocations: 43.66 kB / 1.381 GB, free: 11.18 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.153e-05/1.25, allocations: 8 kB / 1.381 GB, free: 11.17 MB / 1.107 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.0002467/1.251, allocations: 153.8 kB / 1.381 GB, free: 11.01 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.337e-05/1.251, allocations: 23.72 kB / 1.381 GB, free: 10.99 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/1.252, allocations: 325.6 kB / 1.382 GB, free: 10.66 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.739e-06/1.252, allocations: 7.938 kB / 1.382 GB, free: 10.66 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/1.252, allocations: 4 kB / 1.382 GB, free: 10.65 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/1.252, allocations: 64 / 1.382 GB, free: 10.65 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002455/1.254, allocations: 0.933 MB / 1.383 GB, free: 9.613 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.254, allocations: 0 / 1.383 GB, free: 9.613 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003946/1.255, allocations: 51.95 kB / 1.383 GB, free: 9.562 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/1.255, allocations: 4 kB / 1.383 GB, free: 9.559 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/1.255, allocations: 8.188 kB / 1.383 GB, free: 9.551 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.927e-06/1.255, allocations: 7.922 kB / 1.383 GB, free: 9.543 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/1.255, allocations: 4 kB / 1.383 GB, free: 9.539 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/1.257, allocations: 0.5565 MB / 1.383 GB, free: 8.949 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002038/1.257, allocations: 136.8 kB / 1.383 GB, free: 8.797 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.926e-05/1.257, allocations: 8 kB / 1.383 GB, free: 8.789 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003715/1.257, allocations: 19.98 kB / 1.383 GB, free: 8.77 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/1.257, allocations: 23.91 kB / 1.383 GB, free: 8.746 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.488e-05/1.258, allocations: 8 kB / 1.383 GB, free: 8.738 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.000282/1.258, allocations: 190 kB / 1.384 GB, free: 8.551 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.81e-07/1.258, allocations: 0 / 1.384 GB, free: 8.551 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0007868/1.259, allocations: 111.8 kB / 1.384 GB, free: 8.441 MB / 1.107 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.0006956/1.259, allocations: 199.4 kB / 1.384 GB, free: 8.246 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001138/1.26, allocations: 255.7 kB / 1.384 GB, free: 7.996 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/1.261, allocations: 0 / 1.384 GB, free: 7.996 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0005689/1.261, allocations: 140.5 kB / 1.384 GB, free: 7.859 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/1.262, allocations: 126.8 kB / 1.384 GB, free: 7.738 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/1.264, allocations: 0.6112 MB / 1.385 GB, free: 7.086 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/1.264, allocations: 0.7833 MB / 1.386 GB, free: 6.277 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0003184/1.265, allocations: 66.23 kB / 1.386 GB, free: 6.211 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/1.265, allocations: 23.44 kB / 1.386 GB, free: 6.188 MB / 1.107 GB Notification: Performance of SimCode: time 5.01e-07/1.265, allocations: 0 / 1.386 GB, free: 6.188 MB / 1.107 GB Notification: Performance of Templates: time 0.01772/1.283, allocations: 6.078 MB / 1.392 GB, free: 192 kB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches