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.005161/0.005161, allocations: 105.1 kB / 15.74 MB, free: 6.012 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.001207/0.001207, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.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.286/2.286, allocations: 390.2 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 67.89 kB / 0.9509 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.036/1.038, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.2259/1.264, allocations: 165.3 MB / 1.249 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003157/1.267, allocations: 1.557 MB / 1.251 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000298/1.267, allocations: 11.94 kB / 1.251 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004941/1.268, allocations: 150.9 kB / 1.251 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001355/1.269, allocations: 485.8 kB / 1.251 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002049/1.271, allocations: 0.7686 MB / 1.252 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000784/1.272, allocations: 0.6981 MB / 1.253 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004028/1.272, allocations: 270.5 kB / 1.253 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005378/1.273, allocations: 322.9 kB / 1.253 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/1.273, allocations: 223 kB / 1.254 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.349e-05/1.273, allocations: 24 kB / 1.254 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/1.275, allocations: 0.8691 MB / 1.255 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000136/1.275, allocations: 115.7 kB / 1.255 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001669/1.275, allocations: 159.2 kB / 1.255 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001153/1.276, allocations: 0.7383 MB / 1.256 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.276, allocations: 0 / 1.256 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.433e-06/1.276, allocations: 8 kB / 1.256 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.155e-06/1.276, allocations: 0 / 1.256 GB, free: 2.102 MB / 0.9825 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.001145/1.278, allocations: 0.6762 MB / 1.256 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/1.278, allocations: 12.03 kB / 1.256 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005331/1.278, allocations: 83.5 kB / 1.256 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/1.279, allocations: 317.8 kB / 1.257 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/1.279, allocations: 20.56 kB / 1.257 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.096e-05/1.279, allocations: 28 kB / 1.257 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006588/1.279, allocations: 324.2 kB / 1.257 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/1.279, allocations: 3.938 kB / 1.257 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/1.279, allocations: 8 kB / 1.257 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/1.279, allocations: 11.94 kB / 1.257 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006718/1.28, allocations: 285.5 kB / 1.257 GB, free: 256 kB / 0.9825 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.00166/1.282, allocations: 1.059 MB / 1.258 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009141/1.283, allocations: 331.7 kB / 1.259 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/1.283, allocations: 128.8 kB / 1.259 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006762/1.284, allocations: 400.3 kB / 1.259 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/1.284, allocations: 34.56 kB / 1.259 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 2.034e-06/1.284, allocations: 3.938 kB / 1.259 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.001191/1.285, allocations: 404.9 kB / 1.26 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/1.285, allocations: 55.41 kB / 1.26 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/1.285, allocations: 275 kB / 1.26 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/1.285, allocations: 25.7 kB / 1.26 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/1.285, allocations: 172.2 kB / 1.26 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.37e-05/1.285, allocations: 63.02 kB / 1.26 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.269e-05/1.286, allocations: 45.64 kB / 1.26 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.286, allocations: 338.8 kB / 1.26 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000311/1.286, allocations: 107.9 kB / 1.261 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003298/1.286, allocations: 163.7 kB / 1.261 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005838/1.287, allocations: 270.6 kB / 1.261 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.287, allocations: 4 kB / 1.261 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006906/1.288, allocations: 307.3 kB / 1.261 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/1.288, allocations: 4 kB / 1.261 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/1.288, allocations: 8.156 kB / 1.261 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/1.288, allocations: 3.938 kB / 1.261 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/1.288, allocations: 63.89 kB / 1.261 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/1.288, allocations: 0 / 1.261 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/1.288, allocations: 43.66 kB / 1.261 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/1.288, allocations: 8 kB / 1.261 GB, free: 11.73 MB / 0.9981 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.0001484/1.288, allocations: 161.8 kB / 1.262 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.165e-05/1.289, allocations: 23.72 kB / 1.262 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007592/1.289, allocations: 307.7 kB / 1.262 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/1.289, allocations: 11.94 kB / 1.262 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.289, allocations: 0 / 1.262 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/1.289, allocations: 4 kB / 1.262 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/1.291, allocations: 0.929 MB / 1.263 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.291, allocations: 4 kB / 1.263 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002597/1.291, allocations: 51.89 kB / 1.263 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/1.291, allocations: 4 kB / 1.263 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/1.291, allocations: 7.938 kB / 1.263 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/1.291, allocations: 4.188 kB / 1.263 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.291, allocations: 4 kB / 1.263 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/1.292, allocations: 0.5649 MB / 1.263 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/1.292, allocations: 124.8 kB / 1.264 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.501e-05/1.292, allocations: 4 kB / 1.264 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/1.293, allocations: 28.03 kB / 1.264 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/1.293, allocations: 23.91 kB / 1.264 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/1.293, allocations: 8 kB / 1.264 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001675/1.293, allocations: 197.9 kB / 1.264 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.293, allocations: 0 / 1.264 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004462/1.293, allocations: 107.8 kB / 1.264 GB, free: 9.004 MB / 0.9981 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.0005043/1.294, allocations: 200.2 kB / 1.264 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007001/1.295, allocations: 259.9 kB / 1.264 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.295, allocations: 0 / 1.264 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003492/1.295, allocations: 135.8 kB / 1.264 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007053/1.296, allocations: 129.9 kB / 1.265 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/1.297, allocations: 0.6075 MB / 1.265 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/1.297, allocations: 0.7794 MB / 1.266 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002136/1.297, allocations: 62.25 kB / 1.266 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.712e-05/1.297, allocations: 31.36 kB / 1.266 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/1.298, allocations: 0 / 1.266 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of Templates: time 0.01122/1.309, allocations: 5.986 MB / 1.272 GB, free: 0.8438 MB / 0.9981 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