Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 195.4 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.337/2.337, allocations: 390.3 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 59.91 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6475/0.6489, allocations: 140.4 MB / 0.9497 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1618/0.8108, allocations: 165.3 MB / 1.111 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.002976/0.8138, allocations: 1.555 MB / 1.113 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004412/0.8143, allocations: 11.94 kB / 1.113 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004602/0.8148, allocations: 146.8 kB / 1.113 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00122/0.816, allocations: 465.8 kB / 1.113 GB, free: 9.816 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00192/0.818, allocations: 0.7534 MB / 1.114 GB, free: 9.062 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0007877/0.8188, allocations: 0.702 MB / 1.115 GB, free: 8.355 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004207/0.8192, allocations: 258.7 kB / 1.115 GB, free: 8.109 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000555/0.8198, allocations: 314.8 kB / 1.115 GB, free: 7.801 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003038/0.8201, allocations: 223.1 kB / 1.115 GB, free: 7.582 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.626e-05/0.8201, allocations: 24 kB / 1.115 GB, free: 7.559 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/0.8216, allocations: 0.8691 MB / 1.116 GB, free: 6.688 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.8217, allocations: 111.7 kB / 1.116 GB, free: 6.578 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.8219, allocations: 155.3 kB / 1.117 GB, free: 6.426 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.823, allocations: 0.7286 MB / 1.117 GB, free: 5.695 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.8231, allocations: 0 / 1.117 GB, free: 5.695 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.535e-06/0.8231, allocations: 4 kB / 1.117 GB, free: 5.691 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.8231, allocations: 0 / 1.117 GB, free: 5.691 MB / 0.8731 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.001064/0.8241, allocations: 0.6779 MB / 1.118 GB, free: 4.961 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.8242, allocations: 12.03 kB / 1.118 GB, free: 4.949 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.19e-05/0.8243, allocations: 62.48 kB / 1.118 GB, free: 4.879 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004875/0.8248, allocations: 83.5 kB / 1.118 GB, free: 4.797 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003736/0.8251, allocations: 294 kB / 1.118 GB, free: 4.469 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.8252, allocations: 16.56 kB / 1.118 GB, free: 4.453 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.617e-05/0.8252, allocations: 28 kB / 1.118 GB, free: 4.426 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006089/0.8258, allocations: 328.2 kB / 1.119 GB, free: 4.09 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.8259, allocations: 3.938 kB / 1.119 GB, free: 4.086 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.984e-05/0.8259, allocations: 23.91 kB / 1.119 GB, free: 4.062 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.8259, allocations: 4 kB / 1.119 GB, free: 4.059 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006746/0.8266, allocations: 285.5 kB / 1.119 GB, free: 3.781 MB / 0.8731 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.001492/0.8281, allocations: 1.071 MB / 1.12 GB, free: 2.645 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008544/0.8289, allocations: 323.7 kB / 1.12 GB, free: 2.301 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003092/0.8293, allocations: 136.8 kB / 1.12 GB, free: 2.164 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006174/0.8299, allocations: 396.3 kB / 1.121 GB, free: 1.703 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.8299, allocations: 30.56 kB / 1.121 GB, free: 1.664 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.603e-06/0.8299, allocations: 0 / 1.121 GB, free: 1.664 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.001152/0.8311, allocations: 411.6 kB / 1.121 GB, free: 1.258 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.8311, allocations: 55.34 kB / 1.121 GB, free: 1.191 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.8314, allocations: 271 kB / 1.122 GB, free: 0.9141 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.8314, allocations: 25.7 kB / 1.122 GB, free: 0.8828 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.8315, allocations: 176.1 kB / 1.122 GB, free: 0.707 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.363e-05/0.8316, allocations: 67.08 kB / 1.122 GB, free: 0.6406 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-05/0.8317, allocations: 41.7 kB / 1.122 GB, free: 0.5938 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.984e-05/0.8318, allocations: 338.8 kB / 1.122 GB, free: 260 kB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.8321, allocations: 103.9 kB / 1.122 GB, free: 156 kB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003371/0.8324, allocations: 171.3 kB / 1.122 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000607/0.833, allocations: 268.8 kB / 1.123 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.833, allocations: 0 / 1.123 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007123/0.8337, allocations: 322.4 kB / 1.123 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.8338, allocations: 8 kB / 1.123 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.8338, allocations: 0 / 1.123 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.8338, allocations: 7.938 kB / 1.123 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/0.8341, allocations: 60.09 kB / 1.123 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.8341, allocations: 4 kB / 1.123 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.8343, allocations: 43.73 kB / 1.123 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.8344, allocations: 4 kB / 1.123 GB, free: 15.24 MB / 0.8887 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.0001289/0.8345, allocations: 153.8 kB / 1.123 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.4e-05/0.8345, allocations: 27.62 kB / 1.123 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007316/0.8353, allocations: 325.7 kB / 1.124 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.8353, allocations: 0 / 1.124 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.8353, allocations: 0 / 1.124 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.8353, allocations: 0 / 1.124 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/0.8367, allocations: 0.9329 MB / 1.125 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.8367, allocations: 4 kB / 1.125 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/0.837, allocations: 51.89 kB / 1.125 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.837, allocations: 0 / 1.125 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.837, allocations: 8 kB / 1.125 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/0.837, allocations: 4 kB / 1.125 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.837, allocations: 3.938 kB / 1.125 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.8381, allocations: 0.5588 MB / 1.125 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.8382, allocations: 132.6 kB / 1.125 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.486e-05/0.8383, allocations: 7.984 kB / 1.125 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.8385, allocations: 20.05 kB / 1.125 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.96e-05/0.8386, allocations: 27.84 kB / 1.125 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.8386, allocations: 12 kB / 1.125 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001671/0.8388, allocations: 190 kB / 1.126 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8388, allocations: 0 / 1.126 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004343/0.8392, allocations: 107.8 kB / 1.126 GB, free: 12.52 MB / 0.8887 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.001632/0.8409, allocations: 1.189 MB / 1.127 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0006895/0.8416, allocations: 266.9 kB / 1.127 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.8416, allocations: 0 / 1.127 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003336/0.8419, allocations: 140.4 kB / 1.127 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00071/0.8426, allocations: 136.6 kB / 1.127 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003997/0.8466, allocations: 2.972 MB / 1.13 GB, free: 7.656 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.8469, allocations: 0.7753 MB / 1.131 GB, free: 6.855 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002404/0.8472, allocations: 66.23 kB / 1.131 GB, free: 6.789 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.8473, allocations: 91.34 kB / 1.131 GB, free: 6.699 MB / 0.8887 GB Notification: Performance of SimCode: time 1.483e-06/0.8473, allocations: 0 / 1.131 GB, free: 6.699 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.137/2.984, allocations: 8.876 MB / 1.14 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.58/17.57, allocations: 6.172 kB / 1.14 GB, free: 13.98 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches