Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.TemperatureWetBulb,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",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.001155/0.001155, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00113/0.00113, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.309/1.309, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.335/2.335, allocations: 390.2 MB / 0.6643 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 67.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6216/0.6231, allocations: 140.4 MB / 0.949 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.157/0.7801, allocations: 159.3 MB / 1.105 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004956/0.7851, allocations: 3.516 MB / 1.108 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005221/0.7856, allocations: 11.94 kB / 1.108 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006397/0.7863, allocations: 103.3 kB / 1.108 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001539/0.7879, allocations: 426.2 kB / 1.109 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001762/0.7897, allocations: 0.5372 MB / 1.109 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0008803/0.7906, allocations: 0.8116 MB / 1.11 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003218/0.7909, allocations: 200.6 kB / 1.11 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001483/0.7924, allocations: 310.9 kB / 1.11 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002916/0.7927, allocations: 211.1 kB / 1.111 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.673e-05/0.7928, allocations: 12 kB / 1.111 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.794, allocations: 0.6273 MB / 1.111 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.7941, allocations: 87.7 kB / 1.111 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.7942, allocations: 135.3 kB / 1.111 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0007634/0.795, allocations: 0.5648 MB / 1.112 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.795, allocations: 0 / 1.112 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of FrontEnd: time 9.62e-07/0.795, allocations: 0 / 1.112 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.795, allocations: 0 / 1.112 GB, free: 10.73 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001062/0.7961, allocations: 0.635 MB / 1.113 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.7962, allocations: 8.031 kB / 1.113 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.284e-05/0.7962, allocations: 54.55 kB / 1.113 GB, free: 9.977 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005318/0.7968, allocations: 83.5 kB / 1.113 GB, free: 9.895 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/0.7971, allocations: 297.3 kB / 1.113 GB, free: 9.566 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.7972, allocations: 16.44 kB / 1.113 GB, free: 9.551 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.7972, allocations: 16 kB / 1.113 GB, free: 9.535 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006032/0.7978, allocations: 312.2 kB / 1.113 GB, free: 9.207 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.7978, allocations: 0 / 1.113 GB, free: 9.207 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.029e-05/0.7979, allocations: 12 kB / 1.113 GB, free: 9.195 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.7979, allocations: 7.938 kB / 1.113 GB, free: 9.188 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006197/0.7985, allocations: 248.6 kB / 1.114 GB, free: 8.945 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.001521/0.8, allocations: 1.256 MB / 1.115 GB, free: 7.578 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000422/0.8005, allocations: 178.5 kB / 1.115 GB, free: 7.395 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/0.8008, allocations: 120.8 kB / 1.115 GB, free: 7.273 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005633/0.8014, allocations: 303.2 kB / 1.115 GB, free: 6.922 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.8014, allocations: 46.48 kB / 1.115 GB, free: 6.867 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.8014, allocations: 0 / 1.115 GB, free: 6.867 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.00221/0.8036, allocations: 0.573 MB / 1.116 GB, free: 6.266 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.8037, allocations: 51.41 kB / 1.116 GB, free: 6.203 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.8039, allocations: 263 kB / 1.116 GB, free: 5.941 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.8039, allocations: 25.7 kB / 1.116 GB, free: 5.91 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.804, allocations: 160.2 kB / 1.116 GB, free: 5.75 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.468e-05/0.8041, allocations: 55.28 kB / 1.116 GB, free: 5.695 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.456e-05/0.8042, allocations: 37.61 kB / 1.116 GB, free: 5.652 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.8043, allocations: 342.8 kB / 1.117 GB, free: 5.309 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/0.8046, allocations: 91.91 kB / 1.117 GB, free: 5.219 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/0.8049, allocations: 133.8 kB / 1.117 GB, free: 5.074 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005528/0.8054, allocations: 245.7 kB / 1.117 GB, free: 4.82 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.8055, allocations: 3.938 kB / 1.117 GB, free: 4.816 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00113/0.8066, allocations: 345.8 kB / 1.118 GB, free: 4.469 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.8066, allocations: 8 kB / 1.118 GB, free: 4.461 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.8066, allocations: 0 / 1.118 GB, free: 4.461 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006051/0.8072, allocations: 92.88 kB / 1.118 GB, free: 4.367 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.8075, allocations: 43.91 kB / 1.118 GB, free: 4.324 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/0.8095, allocations: 1.608 MB / 1.119 GB, free: 2.586 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002643/0.8098, allocations: 43.72 kB / 1.119 GB, free: 2.543 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.8099, allocations: 8 kB / 1.119 GB, free: 2.535 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001431/0.81, allocations: 145.8 kB / 1.12 GB, free: 2.383 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.7e-05/0.8101, allocations: 23.72 kB / 1.12 GB, free: 2.359 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/0.8112, allocations: 365.6 kB / 1.12 GB, free: 1.992 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.8112, allocations: 8 kB / 1.12 GB, free: 1.984 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.8112, allocations: 0 / 1.12 GB, free: 1.984 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.8112, allocations: 3.938 kB / 1.12 GB, free: 1.98 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/0.8129, allocations: 0.7708 MB / 1.121 GB, free: 1.141 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.8129, allocations: 0 / 1.121 GB, free: 1.141 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.8131, allocations: 36.06 kB / 1.121 GB, free: 1.105 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005183/0.8136, allocations: 92.75 kB / 1.121 GB, free: 1.012 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.8136, allocations: 4 kB / 1.121 GB, free: 1.008 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001757/0.8154, allocations: 1.629 MB / 1.122 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.8154, allocations: 0 / 1.122 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.8165, allocations: 454.4 kB / 1.123 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.8166, allocations: 120.8 kB / 1.123 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/0.8167, allocations: 11.94 kB / 1.123 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/0.8169, allocations: 31.88 kB / 1.123 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.896e-05/0.817, allocations: 15.97 kB / 1.123 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.817, allocations: 8 kB / 1.123 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001592/0.8172, allocations: 189.9 kB / 1.123 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8172, allocations: 0 / 1.123 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004139/0.8176, allocations: 87.92 kB / 1.123 GB, free: 14.29 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001568/0.8192, allocations: 1.048 MB / 1.124 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0009508/0.8202, allocations: 359.2 kB / 1.125 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.8202, allocations: 0 / 1.125 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005647/0.8208, allocations: 255 kB / 1.125 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007068/0.8215, allocations: 116.3 kB / 1.125 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004528/0.826, allocations: 2.887 MB / 1.128 GB, free: 9.469 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.8263, allocations: 0.7714 MB / 1.129 GB, free: 8.672 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002316/0.8266, allocations: 62.23 kB / 1.129 GB, free: 8.613 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.8267, allocations: 75.41 kB / 1.129 GB, free: 8.539 MB / 0.8887 GB Notification: Performance of SimCode: time 2.8e-07/0.8267, allocations: 0 / 1.129 GB, free: 8.539 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06774/0.8944, allocations: 8.066 MB / 1.137 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000328/0.8948, allocations: 274.1 kB / 1.137 GB, free: 312 kB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.849/2.744, allocations: 0 / 1.137 GB, free: 312 kB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches