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.001212/0.001212, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001403/0.001403, allocations: 218.5 kB / 23.03 MB, free: 4.922 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.381/1.381, allocations: 230.6 MB / 256.8 MB, free: 7.812 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 3.041/3.041, allocations: 0.49 GB / 0.7959 GB, free: 35.58 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="cs",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.001887/0.001887, allocations: 70.12 kB / 1.155 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3179, allocations: 176.1 MB / 1.327 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1775/0.4954, allocations: 145.7 MB / 1.469 GB, free: 15.3 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003008/0.4984, allocations: 1.469 MB / 1.47 GB, free: 13.82 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002225/0.4986, allocations: 15.81 kB / 1.47 GB, free: 13.81 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004503/0.4991, allocations: 146.9 kB / 1.47 GB, free: 13.66 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001199/0.5003, allocations: 477.9 kB / 1.471 GB, free: 13.2 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.5021, allocations: 0.7701 MB / 1.472 GB, free: 12.43 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0008561/0.503, allocations: 0.7214 MB / 1.472 GB, free: 11.7 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003519/0.5033, allocations: 199.1 kB / 1.473 GB, free: 11.5 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009096/0.5042, allocations: 490.2 kB / 1.473 GB, free: 11.02 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003056/0.5045, allocations: 239 kB / 1.473 GB, free: 10.79 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.424e-05/0.5046, allocations: 24 kB / 1.473 GB, free: 10.76 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.5058, allocations: 0.7482 MB / 1.474 GB, free: 10.01 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.506, allocations: 115.6 kB / 1.474 GB, free: 9.898 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.5061, allocations: 127.5 kB / 1.474 GB, free: 9.773 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.5071, allocations: 0.7281 MB / 1.475 GB, free: 9.043 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.5071, allocations: 0 / 1.475 GB, free: 9.043 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5071, allocations: 4 kB / 1.475 GB, free: 9.039 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.5072, allocations: 0 / 1.475 GB, free: 9.039 MB / 1.17 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.001093/0.5082, allocations: 0.6057 MB / 1.476 GB, free: 8.402 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.5083, allocations: 15.97 kB / 1.476 GB, free: 8.387 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.138e-05/0.5083, allocations: 4.5 kB / 1.476 GB, free: 8.383 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.432e-05/0.5084, allocations: 62.47 kB / 1.476 GB, free: 8.312 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004867/0.5089, allocations: 83.77 kB / 1.476 GB, free: 8.23 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004368/0.5093, allocations: 252.1 kB / 1.476 GB, free: 7.957 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.5093, allocations: 24.5 kB / 1.476 GB, free: 7.934 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.903e-05/0.5094, allocations: 20 kB / 1.476 GB, free: 7.914 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007014/0.5101, allocations: 357.1 kB / 1.476 GB, free: 7.543 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.5101, allocations: 0 / 1.476 GB, free: 7.543 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.257e-05/0.5101, allocations: 11.94 kB / 1.476 GB, free: 7.531 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.5101, allocations: 12 kB / 1.476 GB, free: 7.52 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007077/0.5108, allocations: 285.5 kB / 1.477 GB, free: 7.242 MB / 1.17 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.001676/0.5125, allocations: 0.9858 MB / 1.478 GB, free: 6.195 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008705/0.5134, allocations: 231.4 kB / 1.478 GB, free: 5.961 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003337/0.5137, allocations: 132.8 kB / 1.478 GB, free: 5.828 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000532/0.5142, allocations: 79.91 kB / 1.478 GB, free: 5.75 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.5143, allocations: 34.56 kB / 1.478 GB, free: 5.707 MB / 1.17 GB Notification: Performance of pre-optimization done (n=19): time 1.472e-06/0.5143, allocations: 0 / 1.478 GB, free: 5.707 MB / 1.17 GB Notification: Performance of matching and sorting (n=19): time 0.001211/0.5155, allocations: 418.6 kB / 1.478 GB, free: 5.293 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.5155, allocations: 51.41 kB / 1.478 GB, free: 5.23 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002831/0.5158, allocations: 272.2 kB / 1.479 GB, free: 4.957 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.5158, allocations: 33.64 kB / 1.479 GB, free: 4.918 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.516, allocations: 168.5 kB / 1.479 GB, free: 4.75 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 6.424e-05/0.516, allocations: 75.36 kB / 1.479 GB, free: 4.676 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-05/0.5161, allocations: 49.64 kB / 1.479 GB, free: 4.621 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.5163, allocations: 334.8 kB / 1.479 GB, free: 4.285 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/0.5166, allocations: 103.9 kB / 1.479 GB, free: 4.184 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000388/0.517, allocations: 241.5 kB / 1.48 GB, free: 3.91 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006249/0.5176, allocations: 274.4 kB / 1.48 GB, free: 3.625 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5176, allocations: 0 / 1.48 GB, free: 3.625 MB / 1.17 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007406/0.5183, allocations: 319.2 kB / 1.48 GB, free: 3.309 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.5184, allocations: 12.03 kB / 1.48 GB, free: 3.297 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.5184, allocations: 7.922 kB / 1.48 GB, free: 3.289 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.5184, allocations: 4 kB / 1.48 GB, free: 3.285 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/0.5187, allocations: 59.89 kB / 1.48 GB, free: 3.227 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.5187, allocations: 4 kB / 1.48 GB, free: 3.223 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.5189, allocations: 39.8 kB / 1.48 GB, free: 3.184 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.5189, allocations: 4 kB / 1.48 GB, free: 3.18 MB / 1.17 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.00017/0.5191, allocations: 164.2 kB / 1.481 GB, free: 3.012 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.676e-05/0.5192, allocations: 27.81 kB / 1.481 GB, free: 2.984 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007855/0.5199, allocations: 315.5 kB / 1.481 GB, free: 2.668 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.5199, allocations: 0 / 1.481 GB, free: 2.668 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.5199, allocations: 0 / 1.481 GB, free: 2.668 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.52, allocations: 8 kB / 1.481 GB, free: 2.66 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.5214, allocations: 0.7482 MB / 1.482 GB, free: 1.844 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.5215, allocations: 0 / 1.482 GB, free: 1.844 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/0.5217, allocations: 47.91 kB / 1.482 GB, free: 1.797 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.5217, allocations: 4 kB / 1.482 GB, free: 1.793 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.5217, allocations: 16.05 kB / 1.482 GB, free: 1.777 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.5217, allocations: 0 / 1.482 GB, free: 1.777 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5217, allocations: 4 kB / 1.482 GB, free: 1.773 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.5228, allocations: 0.567 MB / 1.482 GB, free: 1.176 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.523, allocations: 51.8 kB / 1.482 GB, free: 1.125 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.492e-05/0.523, allocations: 8 kB / 1.482 GB, free: 1.117 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.5232, allocations: 23.97 kB / 1.482 GB, free: 1.094 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.625e-05/0.5233, allocations: 27.97 kB / 1.482 GB, free: 1.066 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.5233, allocations: 8 kB / 1.482 GB, free: 1.059 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001902/0.5235, allocations: 195 kB / 1.483 GB, free: 0.8672 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.5235, allocations: 0 / 1.483 GB, free: 0.8672 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004479/0.524, allocations: 111.8 kB / 1.483 GB, free: 0.7578 MB / 1.17 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.00168/0.5256, allocations: 1.192 MB / 1.484 GB, free: 15.52 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0006748/0.5263, allocations: 247.7 kB / 1.484 GB, free: 15.28 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5263, allocations: 0 / 1.484 GB, free: 15.28 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003416/0.5267, allocations: 131.8 kB / 1.484 GB, free: 15.15 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007167/0.5274, allocations: 142.4 kB / 1.484 GB, free: 15.02 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004294/0.5317, allocations: 2.965 MB / 1.487 GB, free: 11.91 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.5319, allocations: 174.8 kB / 1.487 GB, free: 11.72 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002339/0.5321, allocations: 58.27 kB / 1.487 GB, free: 11.66 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.5323, allocations: 91.41 kB / 1.488 GB, free: 11.57 MB / 1.186 GB Notification: Performance of SimCode: time 1.022e-06/0.5323, allocations: 0 / 1.488 GB, free: 11.57 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03559/0.5678, allocations: 9.706 MB / 1.497 GB, free: 2.152 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.87, allocations: 11.75 kB / 1.497 GB, free: 2.145 MB / 1.186 GB " [Timeout remaining time 288] (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: 18.26233543001581]