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.0008315/0.0008315, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0008998/0.0008999, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 223.3 MB / 240 MB, free: 5.285 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.626/2.626, allocations: 437.7 MB / 0.7117 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.0003281, allocations: 12 kB / 0.8722 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5843/0.5846, allocations: 153.8 MB / 1.022 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1561/0.7407, allocations: 150.1 MB / 1.169 GB, free: 9.539 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002471/0.7432, allocations: 1.48 MB / 1.17 GB, free: 8.055 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.7434, allocations: 11.94 kB / 1.17 GB, free: 8.043 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000346/0.7438, allocations: 99.28 kB / 1.171 GB, free: 7.945 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0008491/0.7447, allocations: 358.3 kB / 1.171 GB, free: 7.594 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.7461, allocations: 0.5683 MB / 1.171 GB, free: 7.027 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0008228/0.7469, allocations: 0.8267 MB / 1.172 GB, free: 6.191 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003274/0.7472, allocations: 200.3 kB / 1.172 GB, free: 5.996 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004643/0.7477, allocations: 278.9 kB / 1.173 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.748, allocations: 211.2 kB / 1.173 GB, free: 5.516 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.505e-05/0.748, allocations: 16 kB / 1.173 GB, free: 5.5 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.7491, allocations: 0.5417 MB / 1.173 GB, free: 4.957 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.7493, allocations: 103.7 kB / 1.174 GB, free: 4.855 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.269e-05/0.7494, allocations: 81.58 kB / 1.174 GB, free: 4.77 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000569/0.7499, allocations: 467 kB / 1.174 GB, free: 4.312 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.75, allocations: 0 / 1.174 GB, free: 4.312 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.222e-06/0.75, allocations: 0 / 1.174 GB, free: 4.312 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.75, allocations: 0 / 1.174 GB, free: 4.312 MB / 0.92 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.0009612/0.7509, allocations: 0.6407 MB / 1.175 GB, free: 3.625 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.751, allocations: 12.02 kB / 1.175 GB, free: 3.613 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004758/0.7515, allocations: 87.56 kB / 1.175 GB, free: 3.527 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000375/0.7518, allocations: 286.1 kB / 1.175 GB, free: 3.211 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.7519, allocations: 20.52 kB / 1.175 GB, free: 3.191 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.623e-05/0.7519, allocations: 27.91 kB / 1.175 GB, free: 3.164 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006596/0.7526, allocations: 348.2 kB / 1.175 GB, free: 2.812 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.7526, allocations: 7.984 kB / 1.175 GB, free: 2.805 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.7526, allocations: 8 kB / 1.175 GB, free: 2.797 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.7527, allocations: 12 kB / 1.175 GB, free: 2.785 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007101/0.7534, allocations: 317.4 kB / 1.176 GB, free: 2.477 MB / 0.92 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.001575/0.755, allocations: 1.079 MB / 1.177 GB, free: 1.332 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008531/0.7558, allocations: 343.6 kB / 1.177 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003275/0.7562, allocations: 148.8 kB / 1.177 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006429/0.7568, allocations: 408.3 kB / 1.178 GB, free: 356 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.7569, allocations: 38.56 kB / 1.178 GB, free: 308 kB / 0.92 GB Notification: Performance of pre-optimization done (n=19): time 1.423e-06/0.7569, allocations: 0 / 1.178 GB, free: 308 kB / 0.92 GB Notification: Performance of matching and sorting (n=19): time 0.001203/0.7581, allocations: 450.4 kB / 1.178 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.7581, allocations: 55.41 kB / 1.178 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.7584, allocations: 263 kB / 1.178 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.7584, allocations: 29.7 kB / 1.178 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.7586, allocations: 172.2 kB / 1.179 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.379e-05/0.7586, allocations: 67.03 kB / 1.179 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.363e-05/0.7586, allocations: 4 kB / 1.179 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.7588, allocations: 342.8 kB / 1.179 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003045/0.7591, allocations: 119.9 kB / 1.179 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/0.7594, allocations: 183.5 kB / 1.179 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003087/0.7597, allocations: 131.9 kB / 1.179 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7598, allocations: 0 / 1.179 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007372/0.7605, allocations: 350.9 kB / 1.18 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.7605, allocations: 8 kB / 1.18 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.7605, allocations: 0 / 1.18 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.7605, allocations: 4 kB / 1.18 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002758/0.7608, allocations: 68.02 kB / 1.18 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.7608, allocations: 4 kB / 1.18 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002523/0.7611, allocations: 43.81 kB / 1.18 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.7611, allocations: 11.98 kB / 1.18 GB, free: 13.97 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001608/0.7613, allocations: 165.7 kB / 1.18 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.239e-05/0.7614, allocations: 27.62 kB / 1.18 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007947/0.7622, allocations: 345.3 kB / 1.18 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.7622, allocations: 7.938 kB / 1.18 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.7622, allocations: 4 kB / 1.18 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.7622, allocations: 0 / 1.18 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.7637, allocations: 0.9603 MB / 1.181 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.7637, allocations: 4 kB / 1.181 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002774/0.764, allocations: 56.14 kB / 1.181 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.764, allocations: 4 kB / 1.181 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.764, allocations: 8 kB / 1.181 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.764, allocations: 0 / 1.181 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-06/0.764, allocations: 7.938 kB / 1.181 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.7651, allocations: 0.5978 MB / 1.182 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.7653, allocations: 128.7 kB / 1.182 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.7653, allocations: 11.94 kB / 1.182 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.7656, allocations: 35.97 kB / 1.182 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.383e-05/0.7657, allocations: 27.86 kB / 1.182 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.7657, allocations: 8 kB / 1.182 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001709/0.7659, allocations: 193.9 kB / 1.182 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7659, allocations: 0 / 1.182 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004378/0.7663, allocations: 103.8 kB / 1.183 GB, free: 11.12 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004316/0.7668, allocations: 213.2 kB / 1.183 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006982/0.7675, allocations: 281.4 kB / 1.183 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7675, allocations: 0 / 1.183 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000349/0.7678, allocations: 161 kB / 1.183 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007527/0.7686, allocations: 124.8 kB / 1.183 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.7697, allocations: 0.7132 MB / 1.184 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.77, allocations: 0.7758 MB / 1.185 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002416/0.7702, allocations: 66.23 kB / 1.185 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.789e-05/0.7703, allocations: 31.44 kB / 1.185 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of SimCode: time 3.71e-07/0.7703, allocations: 4 kB / 1.185 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of Templates: time 0.01009/0.7804, allocations: 5.394 MB / 1.19 GB, free: 3.395 MB / 0.9356 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches