Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_10_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.001029/0.001029, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.265/1.265, allocations: 222.9 MB / 239.9 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.31/2.31, allocations: 437 MB / 0.7101 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 63.91 kB / 0.8689 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4754/0.4767, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1344/0.6112, allocations: 163 MB / 1.176 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002243/0.6134, allocations: 1.558 MB / 1.178 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002358/0.6137, allocations: 7.938 kB / 1.178 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003394/0.614, allocations: 115.3 kB / 1.178 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0008986/0.615, allocations: 438.2 kB / 1.178 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.6164, allocations: 0.6969 MB / 1.179 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006552/0.6171, allocations: 0.7058 MB / 1.18 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003308/0.6174, allocations: 250.6 kB / 1.18 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004359/0.6179, allocations: 318.8 kB / 1.18 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.6181, allocations: 239.1 kB / 1.18 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.7e-05/0.6181, allocations: 24 kB / 1.18 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.6193, allocations: 0.8962 MB / 1.181 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.6194, allocations: 111.7 kB / 1.181 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.6195, allocations: 163.2 kB / 1.181 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008984/0.6204, allocations: 0.7791 MB / 1.182 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.6204, allocations: 0 / 1.182 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6204, allocations: 0 / 1.182 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.6204, allocations: 0 / 1.182 GB, free: 8.777 MB / 0.9356 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.0009576/0.6214, allocations: 0.6857 MB / 1.183 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.6214, allocations: 8.031 kB / 1.183 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.493e-05/0.6215, allocations: 58.53 kB / 1.183 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004317/0.6219, allocations: 87.5 kB / 1.183 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003185/0.6223, allocations: 290 kB / 1.183 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.6223, allocations: 20.56 kB / 1.183 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.115e-05/0.6223, allocations: 28 kB / 1.183 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000592/0.6229, allocations: 332.2 kB / 1.184 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.623, allocations: 0 / 1.184 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.623, allocations: 7.938 kB / 1.184 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.623, allocations: 8 kB / 1.184 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006116/0.6236, allocations: 289.5 kB / 1.184 GB, free: 6.879 MB / 0.9356 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.001381/0.625, allocations: 1.079 MB / 1.185 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007923/0.6258, allocations: 323.6 kB / 1.185 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/0.6261, allocations: 132.8 kB / 1.185 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005885/0.6267, allocations: 400.3 kB / 1.186 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.6267, allocations: 34.56 kB / 1.186 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=19): time 1.182e-06/0.6267, allocations: 0 / 1.186 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.001027/0.6278, allocations: 406.4 kB / 1.186 GB, free: 4.348 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.6278, allocations: 51.41 kB / 1.186 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.628, allocations: 270.9 kB / 1.187 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.6281, allocations: 29.7 kB / 1.187 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.683e-05/0.6282, allocations: 168.2 kB / 1.187 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.385e-05/0.6282, allocations: 71.03 kB / 1.187 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.15e-05/0.6283, allocations: 49.61 kB / 1.187 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.875e-05/0.6284, allocations: 338.8 kB / 1.187 GB, free: 3.344 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002672/0.6287, allocations: 103.9 kB / 1.187 GB, free: 3.242 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002904/0.629, allocations: 168.1 kB / 1.187 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005378/0.6295, allocations: 266.6 kB / 1.188 GB, free: 2.781 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.6295, allocations: 0 / 1.188 GB, free: 2.781 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006273/0.6302, allocations: 315 kB / 1.188 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.6302, allocations: 8 kB / 1.188 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.6302, allocations: 0 / 1.188 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.6302, allocations: 7.938 kB / 1.188 GB, free: 2.453 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.6305, allocations: 56.05 kB / 1.188 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.6305, allocations: 8 kB / 1.188 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.6307, allocations: 43.66 kB / 1.188 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.225e-05/0.6307, allocations: 15.98 kB / 1.188 GB, free: 2.332 MB / 0.9356 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.0001206/0.6309, allocations: 153.8 kB / 1.188 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.831e-05/0.6309, allocations: 23.72 kB / 1.188 GB, free: 2.148 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006933/0.6316, allocations: 319.6 kB / 1.189 GB, free: 1.824 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.6316, allocations: 4 kB / 1.189 GB, free: 1.82 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.6316, allocations: 3.938 kB / 1.189 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.6316, allocations: 0 / 1.189 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.6329, allocations: 0.9252 MB / 1.19 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.6329, allocations: 0 / 1.19 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/0.6332, allocations: 51.89 kB / 1.19 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.6332, allocations: 4 kB / 1.19 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.6332, allocations: 12 kB / 1.19 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.6332, allocations: 4 kB / 1.19 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.6332, allocations: 7.938 kB / 1.19 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009119/0.6341, allocations: 0.5571 MB / 1.19 GB, free: 120 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.6343, allocations: 128.8 kB / 1.19 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/0.6343, allocations: 8 kB / 1.19 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.6345, allocations: 36.02 kB / 1.19 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.6346, allocations: 19.86 kB / 1.19 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.6346, allocations: 12 kB / 1.19 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001463/0.6348, allocations: 189.9 kB / 1.191 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6348, allocations: 0 / 1.191 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003565/0.6351, allocations: 103.8 kB / 1.191 GB, free: 15.61 MB / 0.9512 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.001443/0.6366, allocations: 1.197 MB / 1.192 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006192/0.6372, allocations: 267.6 kB / 1.192 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6372, allocations: 4.312 kB / 1.192 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003054/0.6376, allocations: 135.2 kB / 1.192 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006369/0.6382, allocations: 129 kB / 1.192 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003577/0.6418, allocations: 3.051 MB / 1.195 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.6421, allocations: 0.7869 MB / 1.196 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002174/0.6423, allocations: 66.23 kB / 1.196 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.6424, allocations: 91.41 kB / 1.196 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.6424, allocations: 0 / 1.196 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6541/1.297, allocations: 8.602 MB / 1.205 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003212/1.297, allocations: 241.6 kB / 1.205 GB, free: 1.051 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.169/4.466, allocations: 2.531 kB / 1.205 GB, free: 1.051 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches