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.001422/0.001426, allocations: 107.2 kB / 16.27 MB, free: 6.414 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.001449/0.001449, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.419/1.419, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.707/2.707, allocations: 437.1 MB / 0.711 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 68.08 kB / 0.8699 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3388, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.7953/1.134, allocations: 165.3 MB / 1.179 GB, free: 9.562 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003314/1.138, allocations: 1.549 MB / 1.181 GB, free: 8.316 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004397/1.138, allocations: 18.06 kB / 1.181 GB, free: 8.305 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005461/1.139, allocations: 146.5 kB / 1.181 GB, free: 8.176 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00141/1.14, allocations: 456.5 kB / 1.181 GB, free: 7.836 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002215/1.142, allocations: 0.7525 MB / 1.182 GB, free: 7.285 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0009974/1.143, allocations: 0.7054 MB / 1.183 GB, free: 6.879 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004511/1.144, allocations: 264.9 kB / 1.183 GB, free: 6.73 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005902/1.144, allocations: 318.4 kB / 1.183 GB, free: 6.551 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002977/1.145, allocations: 223.8 kB / 1.184 GB, free: 6.418 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.822e-05/1.145, allocations: 24.5 kB / 1.184 GB, free: 6.418 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001796/1.146, allocations: 0.8592 MB / 1.185 GB, free: 5.945 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001384/1.147, allocations: 111.4 kB / 1.185 GB, free: 5.871 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001764/1.147, allocations: 159.6 kB / 1.185 GB, free: 5.77 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001295/1.148, allocations: 0.7316 MB / 1.186 GB, free: 5.332 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/1.148, allocations: 0 / 1.186 GB, free: 5.332 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.182e-06/1.148, allocations: 0 / 1.186 GB, free: 5.332 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.524e-06/1.148, allocations: 0 / 1.186 GB, free: 5.332 MB / 0.8887 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.001231/1.149, allocations: 0.6811 MB / 1.186 GB, free: 4.73 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/1.149, allocations: 13.97 kB / 1.186 GB, free: 4.727 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005058/1.15, allocations: 80.64 kB / 1.186 GB, free: 4.691 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004389/1.15, allocations: 305.2 kB / 1.187 GB, free: 4.402 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/1.15, allocations: 18.72 kB / 1.187 GB, free: 4.395 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.483e-05/1.151, allocations: 23.72 kB / 1.187 GB, free: 4.387 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007308/1.151, allocations: 327.4 kB / 1.187 GB, free: 4.191 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/1.151, allocations: 1.75 kB / 1.187 GB, free: 4.191 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/1.151, allocations: 13.19 kB / 1.187 GB, free: 4.18 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/1.151, allocations: 13.94 kB / 1.187 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007487/1.152, allocations: 283.3 kB / 1.187 GB, free: 4.047 MB / 0.8887 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.001782/1.154, allocations: 1.076 MB / 1.188 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009463/1.155, allocations: 319.7 kB / 1.189 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/1.155, allocations: 131.5 kB / 1.189 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007336/1.156, allocations: 397.2 kB / 1.189 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/1.156, allocations: 38.5 kB / 1.189 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=19): time 1.743e-06/1.156, allocations: 0 / 1.189 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of matching and sorting (n=19): time 0.001216/1.157, allocations: 405.5 kB / 1.189 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/1.157, allocations: 65.81 kB / 1.19 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/1.158, allocations: 265.1 kB / 1.19 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.359e-05/1.158, allocations: 32.17 kB / 1.19 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/1.158, allocations: 169.6 kB / 1.19 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.937e-05/1.158, allocations: 64.22 kB / 1.19 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.099e-05/1.158, allocations: 52.52 kB / 1.19 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001666/1.158, allocations: 331.8 kB / 1.19 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003007/1.158, allocations: 106.9 kB / 1.191 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003608/1.159, allocations: 157.9 kB / 1.191 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000643/1.159, allocations: 282.8 kB / 1.191 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.159, allocations: 0 / 1.191 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007454/1.16, allocations: 308.1 kB / 1.191 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/1.16, allocations: 4.406 kB / 1.191 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/1.16, allocations: 6.594 kB / 1.191 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/1.16, allocations: 2.875 kB / 1.191 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/1.161, allocations: 60.27 kB / 1.191 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/1.161, allocations: 1.812 kB / 1.191 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002764/1.161, allocations: 41.59 kB / 1.191 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.221e-05/1.161, allocations: 11.41 kB / 1.191 GB, free: 0.8281 MB / 0.8887 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.0001913/1.161, allocations: 159.8 kB / 1.192 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.032e-05/1.161, allocations: 24.94 kB / 1.192 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008133/1.162, allocations: 314.8 kB / 1.192 GB, free: 496 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/1.162, allocations: 6.531 kB / 1.192 GB, free: 492 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.162, allocations: 4 kB / 1.192 GB, free: 488 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/1.162, allocations: 0 / 1.192 GB, free: 488 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/1.164, allocations: 0.9258 MB / 1.193 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/1.164, allocations: 1.312 kB / 1.193 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002581/1.164, allocations: 48.28 kB / 1.193 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/1.164, allocations: 1.656 kB / 1.193 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.358e-05/1.164, allocations: 15.55 kB / 1.193 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/1.164, allocations: 4.562 kB / 1.193 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/1.164, allocations: 1.469 kB / 1.193 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/1.165, allocations: 0.555 MB / 1.193 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/1.165, allocations: 135.3 kB / 1.193 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.486e-05/1.165, allocations: 7.594 kB / 1.193 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/1.166, allocations: 19.97 kB / 1.194 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.703e-05/1.166, allocations: 21.11 kB / 1.194 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/1.166, allocations: 15.3 kB / 1.194 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001964/1.166, allocations: 187.7 kB / 1.194 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/1.166, allocations: 3.938 kB / 1.194 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005157/1.166, allocations: 121.1 kB / 1.194 GB, free: 14.95 MB / 0.9044 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.0005108/1.167, allocations: 194.5 kB / 1.194 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000744/1.168, allocations: 265.9 kB / 1.194 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/1.168, allocations: 0 / 1.194 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003516/1.168, allocations: 136.8 kB / 1.194 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007582/1.169, allocations: 137.1 kB / 1.195 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/1.17, allocations: 0.6444 MB / 1.195 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/1.171, allocations: 0.7808 MB / 1.196 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.575e-05/1.171, allocations: 30.97 kB / 1.196 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of SimCode: time 3e-07/1.171, allocations: 0 / 1.196 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of Templates: time 0.008455/1.179, allocations: 5.115 MB / 1.201 GB, free: 10.71 MB / 0.9044 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches