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.001281/0.001281, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001399/0.001399, allocations: 216.3 kB / 22.25 MB, free: 5.262 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.382/1.382, allocations: 230.6 MB / 256 MB, free: 7.785 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.945/2.945, allocations: 0.4892 GB / 0.7943 GB, free: 35.53 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.001983/0.001983, allocations: 74.5 kB / 1.153 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3136, allocations: 176.1 MB / 1.325 GB, free: 2.328 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.185/0.4986, allocations: 145.7 MB / 1.467 GB, free: 36 kB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.00301/0.5016, allocations: 1.473 MB / 1.469 GB, free: 14.56 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002471/0.5019, allocations: 15.88 kB / 1.469 GB, free: 14.54 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004727/0.5023, allocations: 146.9 kB / 1.469 GB, free: 14.4 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001218/0.5036, allocations: 469.9 kB / 1.469 GB, free: 13.94 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.5054, allocations: 0.7669 MB / 1.47 GB, free: 13.17 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0008096/0.5062, allocations: 0.7097 MB / 1.471 GB, free: 12.46 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003551/0.5066, allocations: 211.1 kB / 1.471 GB, free: 12.25 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008831/0.5075, allocations: 478.3 kB / 1.472 GB, free: 11.78 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002987/0.5078, allocations: 231 kB / 1.472 GB, free: 11.55 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.681e-05/0.5078, allocations: 24 kB / 1.472 GB, free: 11.53 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.509, allocations: 0.7365 MB / 1.473 GB, free: 10.79 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.5092, allocations: 123.5 kB / 1.473 GB, free: 10.67 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.5093, allocations: 127.4 kB / 1.473 GB, free: 10.54 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0009876/0.5103, allocations: 0.7204 MB / 1.473 GB, free: 9.82 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.5103, allocations: 0 / 1.473 GB, free: 9.82 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5103, allocations: 0 / 1.473 GB, free: 9.82 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.5103, allocations: 4 kB / 1.473 GB, free: 9.816 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.00109/0.5114, allocations: 0.6133 MB / 1.474 GB, free: 9.172 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.5115, allocations: 16.03 kB / 1.474 GB, free: 9.156 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.92e-05/0.5115, allocations: 58.55 kB / 1.474 GB, free: 9.09 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004591/0.512, allocations: 83.69 kB / 1.474 GB, free: 9.008 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004699/0.5125, allocations: 256.2 kB / 1.474 GB, free: 8.727 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.5125, allocations: 12.5 kB / 1.474 GB, free: 8.715 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.954e-05/0.5125, allocations: 27.98 kB / 1.475 GB, free: 8.688 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006897/0.5132, allocations: 357 kB / 1.475 GB, free: 8.32 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.5132, allocations: 0 / 1.475 GB, free: 8.32 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.905e-05/0.5133, allocations: 15.94 kB / 1.475 GB, free: 8.305 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.5133, allocations: 8 kB / 1.475 GB, free: 8.297 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007316/0.514, allocations: 289.5 kB / 1.475 GB, free: 8.016 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.5157, allocations: 0.9741 MB / 1.476 GB, free: 6.98 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008518/0.5165, allocations: 238.5 kB / 1.476 GB, free: 6.738 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003329/0.5169, allocations: 124.8 kB / 1.476 GB, free: 6.613 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005257/0.5174, allocations: 91.89 kB / 1.477 GB, free: 6.523 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.5174, allocations: 30.56 kB / 1.477 GB, free: 6.484 MB / 1.17 GB Notification: Performance of pre-optimization done (n=19): time 1.302e-06/0.5174, allocations: 0 / 1.477 GB, free: 6.484 MB / 1.17 GB Notification: Performance of matching and sorting (n=19): time 0.001219/0.5186, allocations: 410.7 kB / 1.477 GB, free: 6.078 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.5187, allocations: 59.34 kB / 1.477 GB, free: 6.008 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000306/0.519, allocations: 264.2 kB / 1.477 GB, free: 5.742 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.519, allocations: 33.7 kB / 1.477 GB, free: 5.703 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.5192, allocations: 172.4 kB / 1.477 GB, free: 5.531 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 6.104e-05/0.5192, allocations: 75.31 kB / 1.478 GB, free: 5.457 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.336e-05/0.5193, allocations: 41.7 kB / 1.478 GB, free: 5.41 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.5195, allocations: 338.8 kB / 1.478 GB, free: 5.07 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003196/0.5198, allocations: 107.9 kB / 1.478 GB, free: 4.965 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004284/0.5202, allocations: 236.8 kB / 1.478 GB, free: 4.695 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006693/0.5209, allocations: 274.6 kB / 1.478 GB, free: 4.41 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.5209, allocations: 0 / 1.478 GB, free: 4.41 MB / 1.17 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007866/0.5217, allocations: 317.2 kB / 1.479 GB, free: 4.094 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.5217, allocations: 4 kB / 1.479 GB, free: 4.09 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.5217, allocations: 0 / 1.479 GB, free: 4.09 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.5217, allocations: 7.938 kB / 1.479 GB, free: 4.082 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/0.522, allocations: 59.89 kB / 1.479 GB, free: 4.023 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.522, allocations: 4 kB / 1.479 GB, free: 4.02 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.5222, allocations: 47.88 kB / 1.479 GB, free: 3.973 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/0.5223, allocations: 11.98 kB / 1.479 GB, free: 3.961 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.0001754/0.5224, allocations: 157.8 kB / 1.479 GB, free: 3.797 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.757e-05/0.5225, allocations: 23.86 kB / 1.479 GB, free: 3.773 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008343/0.5233, allocations: 325 kB / 1.479 GB, free: 3.449 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.5233, allocations: 4 kB / 1.479 GB, free: 3.445 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.5233, allocations: 0 / 1.479 GB, free: 3.445 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.5234, allocations: 4.094 kB / 1.479 GB, free: 3.441 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/0.5249, allocations: 0.7559 MB / 1.48 GB, free: 2.617 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5249, allocations: 0 / 1.48 GB, free: 2.617 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.5252, allocations: 47.95 kB / 1.48 GB, free: 2.57 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.5252, allocations: 0 / 1.48 GB, free: 2.57 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.5252, allocations: 8 kB / 1.48 GB, free: 2.562 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.5252, allocations: 7.938 kB / 1.48 GB, free: 2.555 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5252, allocations: 4.188 kB / 1.48 GB, free: 2.551 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.5263, allocations: 0.5642 MB / 1.481 GB, free: 1.953 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.5264, allocations: 59.78 kB / 1.481 GB, free: 1.895 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/0.5265, allocations: 11.94 kB / 1.481 GB, free: 1.883 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.5267, allocations: 11.98 kB / 1.481 GB, free: 1.871 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.632e-05/0.5268, allocations: 27.89 kB / 1.481 GB, free: 1.844 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.5268, allocations: 15.94 kB / 1.481 GB, free: 1.828 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001916/0.527, allocations: 191.1 kB / 1.481 GB, free: 1.641 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.527, allocations: 0 / 1.481 GB, free: 1.641 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004298/0.5274, allocations: 107.8 kB / 1.481 GB, free: 1.535 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.001697/0.5291, allocations: 1.176 MB / 1.482 GB, free: 324 kB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0007202/0.5298, allocations: 251.6 kB / 1.483 GB, free: 72 kB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.5298, allocations: 0 / 1.483 GB, free: 72 kB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003829/0.5302, allocations: 136.5 kB / 1.483 GB, free: 15.94 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007363/0.531, allocations: 132.7 kB / 1.483 GB, free: 15.81 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004512/0.5355, allocations: 2.982 MB / 1.486 GB, free: 12.69 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.5357, allocations: 170.8 kB / 1.486 GB, free: 12.5 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002372/0.5359, allocations: 70.23 kB / 1.486 GB, free: 12.43 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.5361, allocations: 87.41 kB / 1.486 GB, free: 12.34 MB / 1.186 GB Notification: Performance of SimCode: time 6.01e-07/0.5361, allocations: 4 kB / 1.486 GB, free: 12.34 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04077/0.5768, allocations: 10.05 MB / 1.496 GB, free: 2.555 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.47, allocations: 8.016 kB / 1.496 GB, free: 2.551 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: 17.654120545834303]