Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0006832/0.0006832, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007779/0.0007779, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8295/0.8295, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.649/1.649, allocations: 377.8 MB / 0.6221 GB, free: 8.68 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/1.992e-05, allocations: 6.281 kB / 0.981 GB, free: 2.547 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.557/0.557, allocations: 145.7 MB / 1.123 GB, free: 14.6 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002026/0.559, allocations: 1.482 MB / 1.125 GB, free: 13.62 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001819/0.5592, allocations: 14.97 kB / 1.125 GB, free: 13.61 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003699/0.5596, allocations: 148 kB / 1.125 GB, free: 13.51 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0009112/0.5605, allocations: 489.6 kB / 1.125 GB, free: 13.25 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001271/0.5618, allocations: 0.7899 MB / 1.126 GB, free: 12.87 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0005862/0.5624, allocations: 0.7008 MB / 1.127 GB, free: 12.55 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002903/0.5626, allocations: 206.2 kB / 1.127 GB, free: 12.46 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007391/0.5634, allocations: 0.5534 MB / 1.128 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.5636, allocations: 200.7 kB / 1.128 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.712e-05/0.5636, allocations: 28.19 kB / 1.128 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008743/0.5645, allocations: 0.7413 MB / 1.128 GB, free: 11.9 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.5646, allocations: 122.5 kB / 1.129 GB, free: 11.85 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 8.924e-05/0.5647, allocations: 113.2 kB / 1.129 GB, free: 11.8 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008265/0.5655, allocations: 0.7747 MB / 1.129 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.5655, allocations: 0 / 1.129 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.492e-06/0.5655, allocations: 1.125 kB / 1.129 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.5655, allocations: 3.938 kB / 1.129 GB, free: 11.54 MB / 0.9948 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.000773/0.5663, allocations: 0.601 MB / 1.13 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.5664, allocations: 9.375 kB / 1.13 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.165e-05/0.5664, allocations: 64.8 kB / 1.13 GB, free: 11.03 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002985/0.5667, allocations: 83.81 kB / 1.13 GB, free: 11.01 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.567, allocations: 265 kB / 1.13 GB, free: 10.8 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.567, allocations: 18.59 kB / 1.13 GB, free: 10.8 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.567, allocations: 20.47 kB / 1.13 GB, free: 10.79 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004568/0.5675, allocations: 355.3 kB / 1.131 GB, free: 10.62 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.5675, allocations: 1.156 kB / 1.131 GB, free: 10.62 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.5675, allocations: 14.19 kB / 1.131 GB, free: 10.61 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.5675, allocations: 5.375 kB / 1.131 GB, free: 10.61 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004143/0.5679, allocations: 285.2 kB / 1.131 GB, free: 10.54 MB / 0.9948 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.001029/0.569, allocations: 0.9848 MB / 1.132 GB, free: 9.875 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004832/0.5695, allocations: 234.7 kB / 1.132 GB, free: 9.797 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.5696, allocations: 124.9 kB / 1.132 GB, free: 9.762 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002793/0.5699, allocations: 91.38 kB / 1.133 GB, free: 9.75 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.5699, allocations: 36.59 kB / 1.133 GB, free: 9.711 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=19): time 1.944e-06/0.5699, allocations: 0 / 1.133 GB, free: 9.711 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19): time 0.0006859/0.5706, allocations: 410.9 kB / 1.133 GB, free: 9.578 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.03e-05/0.5707, allocations: 54.81 kB / 1.133 GB, free: 9.516 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.5708, allocations: 270.9 kB / 1.133 GB, free: 9.367 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.5708, allocations: 31.08 kB / 1.133 GB, free: 9.332 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 7.364e-05/0.5709, allocations: 169.5 kB / 1.133 GB, free: 9.184 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.571, allocations: 68.17 kB / 1.133 GB, free: 9.129 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.016e-05/0.571, allocations: 43.3 kB / 1.134 GB, free: 9.102 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.044e-05/0.5711, allocations: 337.5 kB / 1.134 GB, free: 8.777 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.5712, allocations: 108.2 kB / 1.134 GB, free: 8.75 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.5715, allocations: 240 kB / 1.134 GB, free: 8.57 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000365/0.5718, allocations: 272.8 kB / 1.134 GB, free: 8.453 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.5718, allocations: 5.25 kB / 1.134 GB, free: 8.449 MB / 0.9948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004418/0.5723, allocations: 316.2 kB / 1.135 GB, free: 8.332 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.5723, allocations: 6.094 kB / 1.135 GB, free: 8.332 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.5723, allocations: 1.312 kB / 1.135 GB, free: 8.332 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.5723, allocations: 3.703 kB / 1.135 GB, free: 8.332 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.5724, allocations: 55.94 kB / 1.135 GB, free: 8.328 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.5725, allocations: 14.05 kB / 1.135 GB, free: 8.32 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.5726, allocations: 48.23 kB / 1.135 GB, free: 8.297 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.5726, allocations: 7.672 kB / 1.135 GB, free: 8.297 MB / 0.9948 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 8.467e-05/0.5727, allocations: 151.1 kB / 1.135 GB, free: 8.164 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.5727, allocations: 24.94 kB / 1.135 GB, free: 8.152 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004458/0.5732, allocations: 322.6 kB / 1.135 GB, free: 8.027 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.5732, allocations: 1.375 kB / 1.135 GB, free: 8.027 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.5732, allocations: 0.7969 kB / 1.135 GB, free: 8.027 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5732, allocations: 5.688 kB / 1.135 GB, free: 8.023 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008823/0.574, allocations: 0.7584 MB / 1.136 GB, free: 7.551 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.574, allocations: 1.281 kB / 1.136 GB, free: 7.551 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.5742, allocations: 49.2 kB / 1.136 GB, free: 7.551 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.5742, allocations: 2.984 kB / 1.136 GB, free: 7.551 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.5742, allocations: 11.69 kB / 1.136 GB, free: 7.543 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.5742, allocations: 7.672 kB / 1.136 GB, free: 7.539 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.5742, allocations: 2.25 kB / 1.136 GB, free: 7.539 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006893/0.5749, allocations: 0.5614 MB / 1.137 GB, free: 7.234 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.559e-05/0.575, allocations: 51.73 kB / 1.137 GB, free: 7.207 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.575, allocations: 11.48 kB / 1.137 GB, free: 7.203 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.5751, allocations: 17.8 kB / 1.137 GB, free: 7.203 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.736e-05/0.5752, allocations: 19.94 kB / 1.137 GB, free: 7.199 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.5752, allocations: 11.19 kB / 1.137 GB, free: 7.195 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.000141/0.5753, allocations: 191.5 kB / 1.137 GB, free: 7.09 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.5753, allocations: 1.031 kB / 1.137 GB, free: 7.09 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003307/0.5757, allocations: 112.2 kB / 1.137 GB, free: 7.062 MB / 0.9948 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.001044/0.5767, allocations: 1.186 MB / 1.138 GB, free: 6.199 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0004553/0.5772, allocations: 250.5 kB / 1.139 GB, free: 6.141 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5772, allocations: 1.125 kB / 1.139 GB, free: 6.141 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002073/0.5774, allocations: 137.7 kB / 1.139 GB, free: 6.105 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004843/0.5779, allocations: 123.6 kB / 1.139 GB, free: 6.078 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002799/0.5807, allocations: 2.947 MB / 1.142 GB, free: 4.156 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.5808, allocations: 175.2 kB / 1.142 GB, free: 4.066 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001821/0.581, allocations: 65.64 kB / 1.142 GB, free: 4.055 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.5811, allocations: 94.44 kB / 1.142 GB, free: 3.988 MB / 0.9948 GB Notification: Performance of SimCode: time 4.01e-07/0.5811, allocations: 0 / 1.142 GB, free: 3.988 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/0.605, allocations: 10.19 MB / 1.152 GB, free: 2.379 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.762/7.367, allocations: 5.078 kB / 1.152 GB, free: 2.379 MB / 0.9948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.205154811032116]