Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009016/0.0009016, allocations: 68.47 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009707/0.0009707, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8505/0.8505, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.7/1.7, allocations: 389.1 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.567e-05/1.741e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.5228/0.5228, allocations: 145.7 MB / 1.142 GB, free: 9.012 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.002257/0.5251, allocations: 1.455 MB / 1.143 GB, free: 8.047 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002558/0.5253, allocations: 14.75 kB / 1.143 GB, free: 8.039 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0004315/0.5257, allocations: 153.5 kB / 1.144 GB, free: 7.938 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001104/0.5268, allocations: 475.3 kB / 1.144 GB, free: 7.688 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.5285, allocations: 0.7892 MB / 1.145 GB, free: 7.305 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0007538/0.5293, allocations: 0.6792 MB / 1.145 GB, free: 6.992 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003237/0.5296, allocations: 179.8 kB / 1.146 GB, free: 6.918 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.5306, allocations: 0.5428 MB / 1.146 GB, free: 6.684 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003039/0.5309, allocations: 198.4 kB / 1.146 GB, free: 6.621 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 4.561e-05/0.531, allocations: 29 kB / 1.146 GB, free: 6.617 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001351/0.5323, allocations: 0.7421 MB / 1.147 GB, free: 6.359 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.5325, allocations: 125.4 kB / 1.147 GB, free: 6.301 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.5326, allocations: 106.6 kB / 1.147 GB, free: 6.262 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.5338, allocations: 0.7686 MB / 1.148 GB, free: 6.008 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5339, allocations: 0 / 1.148 GB, free: 6.008 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5339, allocations: 1.094 kB / 1.148 GB, free: 6.008 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.5339, allocations: 0.7969 kB / 1.148 GB, free: 6.008 MB / 1.01 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.001217/0.5351, allocations: 0.607 MB / 1.149 GB, free: 5.547 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.975e-05/0.5351, allocations: 10.86 kB / 1.149 GB, free: 5.547 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.749e-05/0.5352, allocations: 59.36 kB / 1.149 GB, free: 5.492 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000407/0.5356, allocations: 84.02 kB / 1.149 GB, free: 5.469 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003915/0.536, allocations: 248.2 kB / 1.149 GB, free: 5.277 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.536, allocations: 18.89 kB / 1.149 GB, free: 5.27 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.301e-05/0.5361, allocations: 23.5 kB / 1.149 GB, free: 5.262 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005181/0.5366, allocations: 356.1 kB / 1.149 GB, free: 5.098 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.5366, allocations: 0 / 1.149 GB, free: 5.098 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.5366, allocations: 14.41 kB / 1.149 GB, free: 5.086 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.088e-06/0.5366, allocations: 6.281 kB / 1.149 GB, free: 5.086 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004528/0.5371, allocations: 284.6 kB / 1.15 GB, free: 5.012 MB / 1.01 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.00124/0.5383, allocations: 0.9849 MB / 1.151 GB, free: 4.348 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005201/0.5388, allocations: 245.9 kB / 1.151 GB, free: 4.266 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.539, allocations: 124.5 kB / 1.151 GB, free: 4.23 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000345/0.5394, allocations: 87.61 kB / 1.151 GB, free: 4.223 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.5394, allocations: 37.16 kB / 1.151 GB, free: 4.18 MB / 1.01 GB Notification: Performance of pre-optimization done (n=19): time 1.473e-06/0.5394, allocations: 0 / 1.151 GB, free: 4.18 MB / 1.01 GB Notification: Performance of matching and sorting (n=19): time 0.0007691/0.5402, allocations: 405.1 kB / 1.151 GB, free: 4.055 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.5402, allocations: 57.27 kB / 1.152 GB, free: 3.988 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.5404, allocations: 269.4 kB / 1.152 GB, free: 3.832 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.5404, allocations: 31.62 kB / 1.152 GB, free: 3.797 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 8.739e-05/0.5405, allocations: 164.6 kB / 1.152 GB, free: 3.656 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.758e-05/0.5406, allocations: 76.86 kB / 1.152 GB, free: 3.594 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.317e-05/0.5406, allocations: 42.75 kB / 1.152 GB, free: 3.566 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.639e-05/0.5407, allocations: 337.7 kB / 1.152 GB, free: 3.242 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.5409, allocations: 107.4 kB / 1.153 GB, free: 3.215 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.5411, allocations: 242.1 kB / 1.153 GB, free: 3.039 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003603/0.5415, allocations: 269 kB / 1.153 GB, free: 2.922 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.5415, allocations: 0.875 kB / 1.153 GB, free: 2.922 MB / 1.01 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00044/0.5419, allocations: 314.4 kB / 1.153 GB, free: 2.809 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.5419, allocations: 6.188 kB / 1.153 GB, free: 2.809 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.5419, allocations: 1.062 kB / 1.153 GB, free: 2.809 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.542, allocations: 3.438 kB / 1.153 GB, free: 2.809 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.5421, allocations: 64.58 kB / 1.153 GB, free: 2.797 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.5421, allocations: 7.312 kB / 1.153 GB, free: 2.793 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.5423, allocations: 43.12 kB / 1.153 GB, free: 2.773 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.5423, allocations: 8.125 kB / 1.153 GB, free: 2.773 MB / 1.01 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.0001081/0.5424, allocations: 154.7 kB / 1.154 GB, free: 2.637 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.5424, allocations: 28.59 kB / 1.154 GB, free: 2.621 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004629/0.5429, allocations: 318 kB / 1.154 GB, free: 2.504 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.5429, allocations: 2.344 kB / 1.154 GB, free: 2.504 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5429, allocations: 1.281 kB / 1.154 GB, free: 2.504 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.5429, allocations: 5.156 kB / 1.154 GB, free: 2.5 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009287/0.5438, allocations: 0.7569 MB / 1.155 GB, free: 2.027 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.5438, allocations: 1.672 kB / 1.155 GB, free: 2.027 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.544, allocations: 47.19 kB / 1.155 GB, free: 2.027 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.544, allocations: 3.625 kB / 1.155 GB, free: 2.027 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.544, allocations: 8.188 kB / 1.155 GB, free: 2.023 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.544, allocations: 10.19 kB / 1.155 GB, free: 2.016 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.544, allocations: 3.281 kB / 1.155 GB, free: 2.016 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006601/0.5447, allocations: 0.5471 MB / 1.155 GB, free: 1.719 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 7.989e-05/0.5447, allocations: 56.56 kB / 1.155 GB, free: 1.688 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.5448, allocations: 7.125 kB / 1.155 GB, free: 1.684 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.5449, allocations: 22.47 kB / 1.155 GB, free: 1.68 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.839e-05/0.5449, allocations: 22.95 kB / 1.155 GB, free: 1.676 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.5449, allocations: 11.86 kB / 1.155 GB, free: 1.672 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001289/0.5451, allocations: 188.5 kB / 1.156 GB, free: 1.566 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.5451, allocations: 0 / 1.156 GB, free: 1.566 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003768/0.5454, allocations: 111.2 kB / 1.156 GB, free: 1.539 MB / 1.01 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.001069/0.5465, allocations: 1.183 MB / 1.157 GB, free: 0.6758 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004306/0.5469, allocations: 249 kB / 1.157 GB, free: 0.6172 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5469, allocations: 0 / 1.157 GB, free: 0.6172 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.5471, allocations: 142.4 kB / 1.157 GB, free: 0.5742 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004496/0.5476, allocations: 111.3 kB / 1.157 GB, free: 0.5508 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002853/0.5504, allocations: 2.931 MB / 1.16 GB, free: 14.64 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.5506, allocations: 174.2 kB / 1.16 GB, free: 14.55 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0001848/0.5508, allocations: 61.78 kB / 1.16 GB, free: 14.54 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.5509, allocations: 88.92 kB / 1.16 GB, free: 14.48 MB / 1.026 GB Notification: Performance of SimCode: time 7.62e-07/0.5509, allocations: 5.438 kB / 1.16 GB, free: 14.48 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.5742, allocations: 9.961 MB / 1.17 GB, free: 12.87 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.637/7.211, allocations: 11.84 kB / 1.17 GB, free: 12.87 MB / 1.026 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.10051584802568]