Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.TemperatureWetBulb,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_10_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.001006/0.001007, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007811/0.007812, allocations: 169.7 kB / 16.27 MB, free: 6.648 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.462/1.462, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.773/2.773, allocations: 437.8 MB / 0.7121 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003528, allocations: 12 kB / 0.8729 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6248/0.6252, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1634/0.7886, allocations: 157.2 MB / 1.177 GB, free: 2.094 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004858/0.7935, allocations: 3.464 MB / 1.18 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003569/0.7939, allocations: 11.94 kB / 1.18 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000398/0.7943, allocations: 103.3 kB / 1.18 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001166/0.7955, allocations: 422.2 kB / 1.181 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.7969, allocations: 0.5409 MB / 1.181 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008206/0.7977, allocations: 0.8116 MB / 1.182 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003121/0.798, allocations: 192.6 kB / 1.182 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001349/0.7994, allocations: 307.9 kB / 1.182 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.7997, allocations: 195.1 kB / 1.183 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.493e-05/0.7997, allocations: 12 kB / 1.183 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009645/0.8007, allocations: 0.6234 MB / 1.183 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.535e-05/0.8008, allocations: 87.7 kB / 1.183 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.801, allocations: 157 kB / 1.183 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006687/0.8016, allocations: 0.5608 MB / 1.184 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.8017, allocations: 0 / 1.184 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.136e-06/0.8017, allocations: 0 / 1.184 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.8017, allocations: 3.938 kB / 1.184 GB, free: 10.61 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009946/0.8027, allocations: 0.6 MB / 1.185 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.8027, allocations: 12.03 kB / 1.185 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.953e-05/0.8028, allocations: 58.55 kB / 1.185 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004902/0.8033, allocations: 75.5 kB / 1.185 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003356/0.8036, allocations: 289.4 kB / 1.185 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.8037, allocations: 16.44 kB / 1.185 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.8037, allocations: 16 kB / 1.185 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006551/0.8044, allocations: 332.1 kB / 1.185 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.8044, allocations: 4 kB / 1.185 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.8044, allocations: 15.94 kB / 1.185 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.8044, allocations: 7.938 kB / 1.185 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007142/0.8052, allocations: 276.9 kB / 1.186 GB, free: 8.816 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.001552/0.8067, allocations: 1.264 MB / 1.187 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000463/0.8072, allocations: 194.5 kB / 1.187 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003364/0.8075, allocations: 136.8 kB / 1.187 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005814/0.8081, allocations: 319.2 kB / 1.187 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.8082, allocations: 38.56 kB / 1.187 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.213e-06/0.8082, allocations: 0 / 1.187 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.002335/0.8105, allocations: 0.629 MB / 1.188 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.8106, allocations: 51.41 kB / 1.188 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/0.8108, allocations: 263 kB / 1.188 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.692e-05/0.8109, allocations: 29.7 kB / 1.188 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.811, allocations: 164.2 kB / 1.189 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.212e-05/0.811, allocations: 47.36 kB / 1.189 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/0.8111, allocations: 17.72 kB / 1.189 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.8112, allocations: 330.8 kB / 1.189 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/0.8115, allocations: 111.9 kB / 1.189 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/0.8119, allocations: 161.2 kB / 1.189 GB, free: 4.824 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006393/0.8125, allocations: 265.1 kB / 1.189 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.8125, allocations: 0 / 1.189 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001227/0.8138, allocations: 397.5 kB / 1.19 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.8138, allocations: 6.5 kB / 1.19 GB, free: 4.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.8138, allocations: 4 kB / 1.19 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006337/0.8144, allocations: 96.81 kB / 1.19 GB, free: 4.051 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.8147, allocations: 43.97 kB / 1.19 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/0.8168, allocations: 1.614 MB / 1.192 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.8171, allocations: 51.81 kB / 1.192 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.8171, allocations: 4 kB / 1.192 GB, free: 2.203 MB / 0.9356 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.0001496/0.8173, allocations: 149.8 kB / 1.192 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.451e-05/0.8173, allocations: 27.62 kB / 1.192 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/0.8186, allocations: 407.9 kB / 1.192 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.8186, allocations: 0 / 1.192 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.8187, allocations: 4 kB / 1.192 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.8187, allocations: 3.938 kB / 1.192 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001785/0.8205, allocations: 0.8021 MB / 1.193 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.8205, allocations: 4.031 kB / 1.193 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.8207, allocations: 39.97 kB / 1.193 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005324/0.8212, allocations: 96.69 kB / 1.193 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.8213, allocations: 4 kB / 1.193 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001959/0.8232, allocations: 1.637 MB / 1.195 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.8232, allocations: 0 / 1.195 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.8245, allocations: 491.4 kB / 1.195 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.8246, allocations: 120.8 kB / 1.195 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.8246, allocations: 8 kB / 1.195 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002823/0.8249, allocations: 27.97 kB / 1.195 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.264e-05/0.825, allocations: 19.97 kB / 1.195 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/0.8251, allocations: 12 kB / 1.195 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001948/0.8253, allocations: 193.8 kB / 1.196 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8253, allocations: 0 / 1.196 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004527/0.8257, allocations: 83.83 kB / 1.196 GB, free: 13.83 MB / 0.9512 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.001832/0.8276, allocations: 1.074 MB / 1.197 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001075/0.8286, allocations: 397 kB / 1.197 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.8287, allocations: 0 / 1.197 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006059/0.8293, allocations: 274.7 kB / 1.197 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007887/0.8301, allocations: 121 kB / 1.197 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00501/0.8351, allocations: 2.985 MB / 1.2 GB, free: 8.824 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.8355, allocations: 0.7752 MB / 1.201 GB, free: 8.023 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002271/0.8357, allocations: 54.33 kB / 1.201 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.8358, allocations: 79.41 kB / 1.201 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of SimCode: time 3.7e-07/0.8358, allocations: 0 / 1.201 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02094/0.8568, allocations: 7.93 MB / 1.209 GB, free: 196 kB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002776/0.8571, allocations: 271.9 kB / 1.209 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.095/2.952, allocations: 3.938 kB / 1.209 GB, free: 15.82 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches