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.001223/0.001223, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001441/0.001441, allocations: 220 kB / 22.25 MB, free: 5.105 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.362/1.362, allocations: 230.6 MB / 256 MB, free: 7.789 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.963/2.963, allocations: 0.49 GB / 0.7951 GB, free: 35.47 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.001962/0.001962, allocations: 62.41 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3137, allocations: 176.1 MB / 1.326 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1699/0.4836, allocations: 145.8 MB / 1.468 GB, free: 15.2 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.002746/0.4864, allocations: 1.475 MB / 1.47 GB, free: 13.72 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.4866, allocations: 15.88 kB / 1.47 GB, free: 13.7 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004621/0.487, allocations: 146.9 kB / 1.47 GB, free: 13.56 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001113/0.4882, allocations: 473.9 kB / 1.47 GB, free: 13.09 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.4899, allocations: 0.7742 MB / 1.471 GB, free: 12.32 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0007797/0.4907, allocations: 0.7137 MB / 1.472 GB, free: 11.6 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003537/0.491, allocations: 211 kB / 1.472 GB, free: 11.39 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008588/0.4919, allocations: 486.4 kB / 1.472 GB, free: 10.91 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003084/0.4922, allocations: 243 kB / 1.473 GB, free: 10.68 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.113e-05/0.4922, allocations: 24 kB / 1.473 GB, free: 10.65 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.4934, allocations: 0.7442 MB / 1.473 GB, free: 9.906 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.4935, allocations: 115.7 kB / 1.473 GB, free: 9.793 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.4937, allocations: 135.4 kB / 1.474 GB, free: 9.66 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0009538/0.4947, allocations: 0.7204 MB / 1.474 GB, free: 8.938 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.4947, allocations: 4 kB / 1.474 GB, free: 8.934 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.022e-06/0.4947, allocations: 0 / 1.474 GB, free: 8.934 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.4947, allocations: 0 / 1.474 GB, free: 8.934 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.001103/0.4958, allocations: 0.6134 MB / 1.475 GB, free: 8.289 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.4958, allocations: 8.031 kB / 1.475 GB, free: 8.281 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.056e-05/0.4959, allocations: 62.55 kB / 1.475 GB, free: 8.211 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004636/0.4963, allocations: 87.69 kB / 1.475 GB, free: 8.125 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004408/0.4968, allocations: 244.2 kB / 1.475 GB, free: 7.855 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.4968, allocations: 24.5 kB / 1.475 GB, free: 7.832 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.156e-05/0.4969, allocations: 24 kB / 1.475 GB, free: 7.809 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006645/0.4975, allocations: 357 kB / 1.476 GB, free: 7.441 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.4975, allocations: 0 / 1.476 GB, free: 7.441 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.4976, allocations: 15.94 kB / 1.476 GB, free: 7.426 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.4976, allocations: 7.984 kB / 1.476 GB, free: 7.418 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006922/0.4983, allocations: 285.5 kB / 1.476 GB, free: 7.141 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.001629/0.4999, allocations: 0.9819 MB / 1.477 GB, free: 6.098 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008631/0.5008, allocations: 238.5 kB / 1.477 GB, free: 5.855 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003153/0.5011, allocations: 128.8 kB / 1.477 GB, free: 5.727 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005259/0.5016, allocations: 83.91 kB / 1.477 GB, free: 5.645 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.5016, allocations: 34.56 kB / 1.477 GB, free: 5.602 MB / 1.17 GB Notification: Performance of pre-optimization done (n=19): time 1.232e-06/0.5016, allocations: 0 / 1.477 GB, free: 5.602 MB / 1.17 GB Notification: Performance of matching and sorting (n=19): time 0.001149/0.5028, allocations: 410.8 kB / 1.478 GB, free: 5.195 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.5028, allocations: 51.41 kB / 1.478 GB, free: 5.133 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.5031, allocations: 272.2 kB / 1.478 GB, free: 4.859 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.5031, allocations: 29.7 kB / 1.478 GB, free: 4.824 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.5032, allocations: 172.4 kB / 1.478 GB, free: 4.652 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 6.291e-05/0.5033, allocations: 75.3 kB / 1.478 GB, free: 4.578 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.529e-05/0.5034, allocations: 49.7 kB / 1.478 GB, free: 4.523 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.5035, allocations: 334.8 kB / 1.479 GB, free: 4.188 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/0.5038, allocations: 103.9 kB / 1.479 GB, free: 4.086 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/0.5042, allocations: 246.3 kB / 1.479 GB, free: 3.809 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006016/0.5048, allocations: 266.8 kB / 1.479 GB, free: 3.531 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5048, allocations: 0 / 1.479 GB, free: 3.531 MB / 1.17 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007052/0.5055, allocations: 319 kB / 1.48 GB, free: 3.215 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.5055, allocations: 16.02 kB / 1.48 GB, free: 3.199 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.5055, allocations: 0 / 1.48 GB, free: 3.199 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.5055, allocations: 7.938 kB / 1.48 GB, free: 3.191 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.5058, allocations: 51.91 kB / 1.48 GB, free: 3.141 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.5058, allocations: 11.92 kB / 1.48 GB, free: 3.129 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.506, allocations: 35.83 kB / 1.48 GB, free: 3.094 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.5061, allocations: 11.98 kB / 1.48 GB, free: 3.082 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.000151/0.5062, allocations: 157.8 kB / 1.48 GB, free: 2.918 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.602e-05/0.5063, allocations: 23.86 kB / 1.48 GB, free: 2.895 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007715/0.507, allocations: 331.5 kB / 1.48 GB, free: 2.562 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.507, allocations: 0 / 1.48 GB, free: 2.562 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.507, allocations: 4 kB / 1.48 GB, free: 2.559 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.507, allocations: 4 kB / 1.48 GB, free: 2.555 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.5085, allocations: 0.7482 MB / 1.481 GB, free: 1.738 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.5085, allocations: 4 kB / 1.481 GB, free: 1.734 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.5087, allocations: 43.97 kB / 1.481 GB, free: 1.691 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.5087, allocations: 4 kB / 1.481 GB, free: 1.688 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.5088, allocations: 4 kB / 1.481 GB, free: 1.684 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.5088, allocations: 4 kB / 1.481 GB, free: 1.68 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.5088, allocations: 7.922 kB / 1.481 GB, free: 1.672 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.5098, allocations: 0.5641 MB / 1.482 GB, free: 1.074 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.5099, allocations: 59.73 kB / 1.482 GB, free: 1.016 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/0.51, allocations: 4 kB / 1.482 GB, free: 1.012 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.5102, allocations: 24.03 kB / 1.482 GB, free: 0.9883 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.75e-05/0.5103, allocations: 31.84 kB / 1.482 GB, free: 0.957 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.5103, allocations: 8 kB / 1.482 GB, free: 0.9492 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001822/0.5105, allocations: 191.1 kB / 1.482 GB, free: 0.7617 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.5105, allocations: 4 kB / 1.482 GB, free: 0.7578 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004275/0.5109, allocations: 103.8 kB / 1.482 GB, free: 0.6562 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.001573/0.5125, allocations: 1.182 MB / 1.483 GB, free: 15.43 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0006709/0.5132, allocations: 243.7 kB / 1.483 GB, free: 15.2 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5132, allocations: 0 / 1.483 GB, free: 15.2 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.000338/0.5135, allocations: 139.8 kB / 1.484 GB, free: 15.06 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006982/0.5142, allocations: 135.2 kB / 1.484 GB, free: 14.93 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004104/0.5183, allocations: 2.985 MB / 1.487 GB, free: 11.8 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/0.5185, allocations: 170.8 kB / 1.487 GB, free: 11.61 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000212/0.5187, allocations: 62.25 kB / 1.487 GB, free: 11.55 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.5188, allocations: 91.41 kB / 1.487 GB, free: 11.46 MB / 1.186 GB Notification: Performance of SimCode: time 6.61e-07/0.5188, allocations: 0 / 1.487 GB, free: 11.46 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04072/0.5596, allocations: 10.13 MB / 1.497 GB, free: 1.598 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/10.99, allocations: 11.5 kB / 1.497 GB, free: 1.59 MB / 1.186 GB " [Timeout remaining time 289] (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: 17.13169417899917]