Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.009836/0.009836, allocations: 99.38 kB / 15.73 MB, free: 6.059 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.001778/0.001778, allocations: 195.2 kB / 16.67 MB, free: 5.977 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.793/2.793, allocations: 469.8 MB / 0.7425 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 64.12 kB / 1.065 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3165, allocations: 159.1 MB / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.8995/1.216, allocations: 165.7 MB / 1.382 GB, free: 4.012 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003154/1.219, allocations: 1.557 MB / 1.384 GB, free: 2.844 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002835/1.219, allocations: 11.31 kB / 1.384 GB, free: 2.84 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004935/1.22, allocations: 150.3 kB / 1.384 GB, free: 2.707 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001271/1.221, allocations: 489.7 kB / 1.385 GB, free: 2.344 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001892/1.223, allocations: 0.7746 MB / 1.385 GB, free: 1.777 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0008402/1.224, allocations: 0.6979 MB / 1.386 GB, free: 1.379 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003748/1.224, allocations: 221 kB / 1.386 GB, free: 1.242 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005531/1.225, allocations: 317.7 kB / 1.387 GB, free: 1.062 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002878/1.225, allocations: 228.1 kB / 1.387 GB, free: 0.9258 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.364e-05/1.225, allocations: 25.31 kB / 1.387 GB, free: 0.9258 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/1.227, allocations: 0.8756 MB / 1.388 GB, free: 448 kB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001333/1.227, allocations: 119.4 kB / 1.388 GB, free: 364 kB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001625/1.227, allocations: 151.3 kB / 1.388 GB, free: 268 kB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00106/1.228, allocations: 0.7395 MB / 1.389 GB, free: 15.82 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.228, allocations: 0 / 1.389 GB, free: 15.82 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.173e-06/1.228, allocations: 1.094 kB / 1.389 GB, free: 15.82 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.762e-06/1.228, allocations: 0 / 1.389 GB, free: 15.82 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.001068/1.229, allocations: 0.6904 MB / 1.389 GB, free: 15.21 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/1.229, allocations: 9.469 kB / 1.389 GB, free: 15.21 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004996/1.23, allocations: 84.77 kB / 1.389 GB, free: 15.18 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004668/1.23, allocations: 324.8 kB / 1.39 GB, free: 14.88 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/1.23, allocations: 17.78 kB / 1.39 GB, free: 14.87 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.351e-05/1.23, allocations: 28.16 kB / 1.39 GB, free: 14.86 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006647/1.231, allocations: 331.4 kB / 1.39 GB, free: 14.65 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/1.231, allocations: 1.344 kB / 1.39 GB, free: 14.65 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.018e-05/1.231, allocations: 9.344 kB / 1.39 GB, free: 14.64 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/1.231, allocations: 10.5 kB / 1.39 GB, free: 14.64 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006978/1.232, allocations: 294.5 kB / 1.39 GB, free: 14.5 MB / 1.092 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.001698/1.233, allocations: 1.058 MB / 1.391 GB, free: 13.64 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009594/1.234, allocations: 319.5 kB / 1.392 GB, free: 13.42 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003308/1.235, allocations: 124.7 kB / 1.392 GB, free: 13.36 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007302/1.235, allocations: 399.8 kB / 1.392 GB, free: 12.95 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/1.235, allocations: 37.16 kB / 1.392 GB, free: 12.9 MB / 1.092 GB Notification: Performance of pre-optimization done (n=19): time 1.643e-06/1.235, allocations: 0 / 1.392 GB, free: 12.9 MB / 1.092 GB Notification: Performance of matching and sorting (n=19): time 0.001252/1.237, allocations: 403.2 kB / 1.393 GB, free: 12.7 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/1.237, allocations: 61.94 kB / 1.393 GB, free: 12.63 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/1.237, allocations: 266 kB / 1.393 GB, free: 12.46 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/1.237, allocations: 26.83 kB / 1.393 GB, free: 12.43 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/1.237, allocations: 178.1 kB / 1.393 GB, free: 12.26 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 5.441e-05/1.237, allocations: 64.16 kB / 1.393 GB, free: 12.2 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.918e-05/1.237, allocations: 47.83 kB / 1.393 GB, free: 12.17 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001494/1.237, allocations: 333.2 kB / 1.394 GB, free: 11.84 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003217/1.238, allocations: 103.2 kB / 1.394 GB, free: 11.79 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/1.238, allocations: 164 kB / 1.394 GB, free: 11.68 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006517/1.239, allocations: 278.1 kB / 1.394 GB, free: 11.51 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.239, allocations: 3.938 kB / 1.394 GB, free: 11.51 MB / 1.092 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007578/1.239, allocations: 316.5 kB / 1.394 GB, free: 11.34 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/1.239, allocations: 5.281 kB / 1.394 GB, free: 11.34 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/1.239, allocations: 2.688 kB / 1.394 GB, free: 11.34 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/1.239, allocations: 5.25 kB / 1.394 GB, free: 11.34 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/1.24, allocations: 65.73 kB / 1.394 GB, free: 11.32 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/1.24, allocations: 2.344 kB / 1.394 GB, free: 11.32 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002777/1.24, allocations: 44.44 kB / 1.395 GB, free: 11.29 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-05/1.24, allocations: 7.844 kB / 1.395 GB, free: 11.29 MB / 1.092 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.0001812/1.24, allocations: 161.3 kB / 1.395 GB, free: 11.14 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.088e-05/1.24, allocations: 23.92 kB / 1.395 GB, free: 11.13 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007956/1.241, allocations: 323.7 kB / 1.395 GB, free: 10.94 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/1.241, allocations: 6.188 kB / 1.395 GB, free: 10.93 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.241, allocations: 0 / 1.395 GB, free: 10.93 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/1.241, allocations: 1.469 kB / 1.395 GB, free: 10.93 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/1.243, allocations: 0.9324 MB / 1.396 GB, free: 10.14 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/1.243, allocations: 2.188 kB / 1.396 GB, free: 10.14 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002607/1.243, allocations: 44.16 kB / 1.396 GB, free: 10.13 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/1.243, allocations: 2.531 kB / 1.396 GB, free: 10.13 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/1.243, allocations: 11.83 kB / 1.396 GB, free: 10.12 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/1.243, allocations: 5.688 kB / 1.396 GB, free: 10.12 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.243, allocations: 1.812 kB / 1.396 GB, free: 10.12 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/1.244, allocations: 0.556 MB / 1.397 GB, free: 9.734 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/1.244, allocations: 133.4 kB / 1.397 GB, free: 9.602 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.663e-05/1.244, allocations: 7.359 kB / 1.397 GB, free: 9.598 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/1.244, allocations: 23.7 kB / 1.397 GB, free: 9.586 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.344e-05/1.245, allocations: 24.98 kB / 1.397 GB, free: 9.57 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/1.245, allocations: 15.2 kB / 1.397 GB, free: 9.562 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0001812/1.245, allocations: 188.4 kB / 1.397 GB, free: 9.438 MB / 1.092 GB Notification: Performance of sort global known variables: time 8e-08/1.245, allocations: 0 / 1.397 GB, free: 9.438 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00052/1.245, allocations: 113.2 kB / 1.397 GB, free: 9.406 MB / 1.092 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.0005957/1.246, allocations: 214.2 kB / 1.397 GB, free: 9.262 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.000792/1.247, allocations: 250.1 kB / 1.397 GB, free: 9.152 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/1.247, allocations: 1.938 kB / 1.397 GB, free: 9.152 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003583/1.247, allocations: 139.2 kB / 1.398 GB, free: 9.09 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007693/1.248, allocations: 126.8 kB / 1.398 GB, free: 9.031 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/1.249, allocations: 0.613 MB / 1.398 GB, free: 8.578 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/1.249, allocations: 0.7774 MB / 1.399 GB, free: 7.84 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002334/1.25, allocations: 70.67 kB / 1.399 GB, free: 7.805 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.444e-05/1.25, allocations: 28.47 kB / 1.399 GB, free: 7.793 MB / 1.092 GB Notification: Performance of SimCode: time 4.51e-07/1.25, allocations: 0 / 1.399 GB, free: 7.793 MB / 1.092 GB Notification: Performance of Templates: time 0.01108/1.261, allocations: 6.002 MB / 1.405 GB, free: 4.812 MB / 1.092 GB make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches