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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001247/0.001247, allocations: 92 kB / 16.02 MB, free: 80 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.001952/0.001952, allocations: 177.2 kB / 16.92 MB, free: 6.652 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.443/1.443, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.852/2.852, allocations: 437.8 MB / 0.7128 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003757/0.0003759, allocations: 12 kB / 0.8735 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6902/0.6906, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1862/0.8769, allocations: 160.9 MB / 1.181 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003267/0.8802, allocations: 1.54 MB / 1.182 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004333/0.8806, allocations: 11.88 kB / 1.182 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005578/0.8812, allocations: 127.2 kB / 1.182 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001541/0.8828, allocations: 438.2 kB / 1.183 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002261/0.8851, allocations: 0.6852 MB / 1.184 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001217/0.8863, allocations: 0.9906 MB / 1.185 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005468/0.8868, allocations: 222 kB / 1.185 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007058/0.8876, allocations: 274.9 kB / 1.185 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004224/0.888, allocations: 227 kB / 1.185 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.416e-05/0.8881, allocations: 16 kB / 1.185 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001883/0.89, allocations: 0.9781 MB / 1.186 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.8902, allocations: 107.7 kB / 1.186 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002328/0.8904, allocations: 165 kB / 1.186 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009554/0.8914, allocations: 0.5145 MB / 1.187 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.8914, allocations: 0 / 1.187 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.224e-06/0.8914, allocations: 0 / 1.187 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.8914, allocations: 0 / 1.187 GB, free: 8.043 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.00131/0.8927, allocations: 0.639 MB / 1.188 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.8928, allocations: 8.031 kB / 1.188 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005741/0.8934, allocations: 91.48 kB / 1.188 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004174/0.8938, allocations: 294 kB / 1.188 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.8938, allocations: 20.56 kB / 1.188 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.539e-05/0.8939, allocations: 24 kB / 1.188 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000734/0.8946, allocations: 348.2 kB / 1.188 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.8946, allocations: 4 kB / 1.188 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.8947, allocations: 4 kB / 1.188 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.8947, allocations: 15.94 kB / 1.188 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007971/0.8955, allocations: 317.5 kB / 1.189 GB, free: 6.203 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.001692/0.8972, allocations: 1.086 MB / 1.19 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009142/0.8981, allocations: 339.6 kB / 1.19 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003602/0.8985, allocations: 152.7 kB / 1.19 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007374/0.8992, allocations: 412.3 kB / 1.191 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.8993, allocations: 38.56 kB / 1.191 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=19): time 1.653e-06/0.8993, allocations: 0 / 1.191 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.001319/0.9006, allocations: 454.9 kB / 1.191 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.9007, allocations: 51.41 kB / 1.191 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.9009, allocations: 270.9 kB / 1.191 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.901, allocations: 29.7 kB / 1.191 GB, free: 3.195 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.9011, allocations: 172.2 kB / 1.192 GB, free: 3.023 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.598e-05/0.9012, allocations: 63.05 kB / 1.192 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/0.9012, allocations: 25.7 kB / 1.192 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.9014, allocations: 338.8 kB / 1.192 GB, free: 2.59 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003306/0.9017, allocations: 119.9 kB / 1.192 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003779/0.9021, allocations: 179.7 kB / 1.192 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007318/0.9028, allocations: 306 kB / 1.193 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.9028, allocations: 0 / 1.193 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008236/0.9037, allocations: 347 kB / 1.193 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.9037, allocations: 8 kB / 1.193 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.9037, allocations: 0 / 1.193 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.9037, allocations: 7.938 kB / 1.193 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002947/0.904, allocations: 68.02 kB / 1.193 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.904, allocations: 0 / 1.193 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002987/0.9044, allocations: 47.81 kB / 1.193 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.183e-05/0.9044, allocations: 12 kB / 1.193 GB, free: 1.477 MB / 0.9356 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.0001685/0.9046, allocations: 161.7 kB / 1.193 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.9046, allocations: 31.62 kB / 1.193 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008694/0.9055, allocations: 351.5 kB / 1.194 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.9055, allocations: 8 kB / 1.194 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.9055, allocations: 8 kB / 1.194 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.9055, allocations: 3.938 kB / 1.194 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/0.9072, allocations: 0.9622 MB / 1.194 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.9072, allocations: 4 kB / 1.194 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002715/0.9075, allocations: 52.16 kB / 1.195 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.9075, allocations: 4 kB / 1.195 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.9076, allocations: 8 kB / 1.195 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.9076, allocations: 7.984 kB / 1.195 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.9076, allocations: 3.938 kB / 1.195 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.9088, allocations: 0.6038 MB / 1.195 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.9089, allocations: 124.7 kB / 1.195 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.573e-05/0.909, allocations: 11.98 kB / 1.195 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/0.9093, allocations: 40.03 kB / 1.195 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.47e-05/0.9093, allocations: 27.84 kB / 1.195 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.9094, allocations: 15.94 kB / 1.195 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001868/0.9096, allocations: 186 kB / 1.196 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9096, allocations: 0 / 1.196 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004688/0.9101, allocations: 107.8 kB / 1.196 GB, free: 14.61 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.000514/0.9106, allocations: 205.4 kB / 1.196 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007755/0.9114, allocations: 280 kB / 1.196 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.9114, allocations: 0 / 1.196 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003775/0.9118, allocations: 159.6 kB / 1.196 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008488/0.9126, allocations: 124.7 kB / 1.196 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.9138, allocations: 0.7753 MB / 1.197 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.9142, allocations: 0.7758 MB / 1.198 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.9143, allocations: 31.42 kB / 1.198 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of SimCode: time 6.21e-07/0.9143, allocations: 0 / 1.198 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of Templates: time 0.008577/0.9229, allocations: 5.061 MB / 1.203 GB, free: 7.176 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/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