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.001529/0.001529, allocations: 108.2 kB / 16.45 MB, free: 6.5 MB / 14.72 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.001709/0.001709, allocations: 210.4 kB / 19.43 MB, free: 3.656 MB / 14.72 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 1.414/1.414, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.986/2.986, allocations: 0.49 GB / 0.7916 GB, free: 33.4 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 73.94 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3101, allocations: 176.1 MB / 1.321 GB, free: 3.328 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1912/0.5013, allocations: 168.7 MB / 1.486 GB, free: 9.98 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.002937/0.5042, allocations: 1.549 MB / 1.487 GB, free: 8.43 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003296/0.5045, allocations: 15.81 kB / 1.487 GB, free: 8.414 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0004692/0.505, allocations: 138.9 kB / 1.487 GB, free: 8.277 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.5062, allocations: 493.8 kB / 1.488 GB, free: 7.793 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.508, allocations: 0.7743 MB / 1.488 GB, free: 7.02 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0008361/0.5089, allocations: 0.6981 MB / 1.489 GB, free: 6.316 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000379/0.5093, allocations: 226.7 kB / 1.489 GB, free: 6.098 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009032/0.5102, allocations: 466.3 kB / 1.49 GB, free: 5.641 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002979/0.5105, allocations: 243 kB / 1.49 GB, free: 5.402 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.384e-05/0.5105, allocations: 24 kB / 1.49 GB, free: 5.379 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001491/0.512, allocations: 0.9119 MB / 1.491 GB, free: 4.465 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.5121, allocations: 119.6 kB / 1.491 GB, free: 4.348 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.5123, allocations: 163.2 kB / 1.491 GB, free: 4.188 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.5134, allocations: 0.7476 MB / 1.492 GB, free: 3.438 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.5134, allocations: 4 kB / 1.492 GB, free: 3.434 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5134, allocations: 0 / 1.492 GB, free: 3.434 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.5134, allocations: 0 / 1.492 GB, free: 3.434 MB / 1.186 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.001151/0.5145, allocations: 0.6887 MB / 1.493 GB, free: 2.691 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.5146, allocations: 15.98 kB / 1.493 GB, free: 2.676 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.444e-05/0.5146, allocations: 54.55 kB / 1.493 GB, free: 2.613 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004848/0.5151, allocations: 87.64 kB / 1.493 GB, free: 2.527 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004529/0.5156, allocations: 318.1 kB / 1.493 GB, free: 2.172 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.5156, allocations: 12.56 kB / 1.493 GB, free: 2.16 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-05/0.5156, allocations: 27.94 kB / 1.493 GB, free: 2.133 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006936/0.5163, allocations: 332.2 kB / 1.493 GB, free: 1.793 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.5164, allocations: 0 / 1.493 GB, free: 1.793 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/0.5164, allocations: 15.94 kB / 1.493 GB, free: 1.777 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.5164, allocations: 4 kB / 1.493 GB, free: 1.773 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007344/0.5171, allocations: 285.5 kB / 1.494 GB, free: 1.496 MB / 1.186 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.001651/0.5188, allocations: 1.071 MB / 1.495 GB, free: 368 kB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009103/0.5197, allocations: 311.6 kB / 1.495 GB, free: 28 kB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003513/0.52, allocations: 128.8 kB / 1.495 GB, free: 15.9 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007158/0.5208, allocations: 396.3 kB / 1.496 GB, free: 15.44 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.5208, allocations: 30.56 kB / 1.496 GB, free: 15.4 MB / 1.201 GB Notification: Performance of pre-optimization done (n=19): time 1.412e-06/0.5208, allocations: 0 / 1.496 GB, free: 15.4 MB / 1.201 GB Notification: Performance of matching and sorting (n=19): time 0.001241/0.522, allocations: 411 kB / 1.496 GB, free: 14.99 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.5221, allocations: 59.34 kB / 1.496 GB, free: 14.92 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002749/0.5223, allocations: 263 kB / 1.496 GB, free: 14.66 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.5224, allocations: 33.7 kB / 1.496 GB, free: 14.62 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.5225, allocations: 172.3 kB / 1.497 GB, free: 14.45 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 6.054e-05/0.5226, allocations: 63.44 kB / 1.497 GB, free: 14.38 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.148e-05/0.5226, allocations: 49.7 kB / 1.497 GB, free: 14.33 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.5228, allocations: 338.8 kB / 1.497 GB, free: 13.99 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003115/0.5231, allocations: 104 kB / 1.497 GB, free: 13.89 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003709/0.5235, allocations: 171.5 kB / 1.497 GB, free: 13.7 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006685/0.5241, allocations: 266.5 kB / 1.497 GB, free: 13.42 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.5241, allocations: 0 / 1.497 GB, free: 13.42 MB / 1.201 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007822/0.5249, allocations: 323.2 kB / 1.498 GB, free: 13.1 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.5249, allocations: 4 kB / 1.498 GB, free: 13.1 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.5249, allocations: 0 / 1.498 GB, free: 13.1 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.525, allocations: 11.88 kB / 1.498 GB, free: 13.09 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.5252, allocations: 55.95 kB / 1.498 GB, free: 13.03 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.964e-06/0.5253, allocations: 4 kB / 1.498 GB, free: 13.03 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.5255, allocations: 43.95 kB / 1.498 GB, free: 12.98 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.849e-05/0.5255, allocations: 8 kB / 1.498 GB, free: 12.98 MB / 1.201 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.0001652/0.5257, allocations: 157.8 kB / 1.498 GB, free: 12.81 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.085e-05/0.5258, allocations: 31.84 kB / 1.498 GB, free: 12.78 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008553/0.5266, allocations: 323.5 kB / 1.498 GB, free: 12.45 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.5266, allocations: 4 kB / 1.498 GB, free: 12.45 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.5266, allocations: 0 / 1.498 GB, free: 12.45 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.5266, allocations: 0 / 1.498 GB, free: 12.45 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.5283, allocations: 0.9259 MB / 1.499 GB, free: 11.42 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.5283, allocations: 0 / 1.499 GB, free: 11.42 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/0.5285, allocations: 56.14 kB / 1.499 GB, free: 11.36 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.5286, allocations: 4 kB / 1.499 GB, free: 11.36 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.5286, allocations: 4 kB / 1.499 GB, free: 11.36 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.329e-06/0.5286, allocations: 3.938 kB / 1.499 GB, free: 11.35 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.5286, allocations: 4 kB / 1.499 GB, free: 11.35 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.5298, allocations: 0.5643 MB / 1.5 GB, free: 10.75 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.5299, allocations: 128.9 kB / 1.5 GB, free: 10.61 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.958e-05/0.5299, allocations: 4 kB / 1.5 GB, free: 10.6 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.5302, allocations: 27.91 kB / 1.5 GB, free: 10.57 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.588e-05/0.5303, allocations: 27.91 kB / 1.5 GB, free: 10.55 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.5303, allocations: 4.062 kB / 1.5 GB, free: 10.54 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001933/0.5305, allocations: 198 kB / 1.5 GB, free: 10.35 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.5305, allocations: 3.938 kB / 1.5 GB, free: 10.35 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005054/0.531, allocations: 111.8 kB / 1.5 GB, free: 10.24 MB / 1.201 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.001826/0.5328, allocations: 1.181 MB / 1.502 GB, free: 9.016 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0007712/0.5336, allocations: 251.9 kB / 1.502 GB, free: 8.77 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5336, allocations: 3.938 kB / 1.502 GB, free: 8.766 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003639/0.5339, allocations: 127.8 kB / 1.502 GB, free: 8.641 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000748/0.5347, allocations: 134 kB / 1.502 GB, free: 8.516 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004455/0.5391, allocations: 2.99 MB / 1.505 GB, free: 5.375 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/0.5396, allocations: 0.7753 MB / 1.506 GB, free: 4.574 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002544/0.5398, allocations: 66.23 kB / 1.506 GB, free: 4.508 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.54, allocations: 91.41 kB / 1.506 GB, free: 4.418 MB / 1.201 GB Notification: Performance of SimCode: time 5.61e-07/0.54, allocations: 0 / 1.506 GB, free: 4.418 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03495/0.575, allocations: 8.982 MB / 1.515 GB, free: 11.61 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.038/8.613, allocations: 5.812 kB / 1.515 GB, free: 11.61 MB / 1.217 GB " [Timeout remaining time 291] (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/jenkins1/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: 14.915637237019837]