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.00102/0.00102, allocations: 97.95 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.007709/0.007709, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.399/1.399, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.25/2.25, allocations: 390.9 MB / 0.6664 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003195/0.0003195, allocations: 16.19 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6255/0.6259, allocations: 142.4 MB / 0.9552 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.155/0.781, allocations: 157.2 MB / 1.109 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004028/0.785, allocations: 3.462 MB / 1.112 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000206/0.7853, allocations: 11.94 kB / 1.112 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.7856, allocations: 103.3 kB / 1.112 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00095/0.7865, allocations: 418.3 kB / 1.113 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.7877, allocations: 0.5484 MB / 1.113 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.000689/0.7884, allocations: 0.8115 MB / 1.114 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002957/0.7887, allocations: 192.6 kB / 1.114 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001294/0.79, allocations: 299.4 kB / 1.114 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.7903, allocations: 199.1 kB / 1.115 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.191e-05/0.7903, allocations: 12 kB / 1.115 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008595/0.7912, allocations: 0.6312 MB / 1.115 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 8.729e-05/0.7913, allocations: 79.78 kB / 1.115 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.7914, allocations: 157 kB / 1.115 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0006347/0.7921, allocations: 0.5647 MB / 1.116 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.7921, allocations: 0 / 1.116 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7921, allocations: 3.938 kB / 1.116 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.7921, allocations: 0 / 1.116 GB, free: 10.21 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.0008994/0.793, allocations: 0.6039 MB / 1.117 GB, free: 9.562 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.793, allocations: 8.031 kB / 1.117 GB, free: 9.555 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.893e-05/0.7931, allocations: 54.55 kB / 1.117 GB, free: 9.492 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004608/0.7936, allocations: 75.5 kB / 1.117 GB, free: 9.418 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.7939, allocations: 289.4 kB / 1.117 GB, free: 9.098 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.7939, allocations: 16.44 kB / 1.117 GB, free: 9.082 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.7939, allocations: 20 kB / 1.117 GB, free: 9.062 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005928/0.7945, allocations: 336.1 kB / 1.117 GB, free: 8.715 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.7946, allocations: 0 / 1.117 GB, free: 8.715 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.7946, allocations: 12 kB / 1.117 GB, free: 8.703 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.7946, allocations: 7.938 kB / 1.117 GB, free: 8.695 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006501/0.7953, allocations: 284.6 kB / 1.118 GB, free: 8.418 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.001385/0.7967, allocations: 1.26 MB / 1.119 GB, free: 7.047 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004173/0.7971, allocations: 194.5 kB / 1.119 GB, free: 6.848 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003193/0.7974, allocations: 140.8 kB / 1.119 GB, free: 6.707 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000534/0.798, allocations: 327.2 kB / 1.119 GB, free: 6.332 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.798, allocations: 38.56 kB / 1.12 GB, free: 6.285 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 2.525e-06/0.798, allocations: 3.984 kB / 1.12 GB, free: 6.281 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.00217/0.8002, allocations: 0.6255 MB / 1.12 GB, free: 5.629 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.8002, allocations: 51.41 kB / 1.12 GB, free: 5.566 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.8004, allocations: 263 kB / 1.12 GB, free: 5.305 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.8005, allocations: 29.7 kB / 1.12 GB, free: 5.27 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.061e-05/0.8006, allocations: 164.2 kB / 1.121 GB, free: 5.105 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.109e-05/0.8006, allocations: 47.36 kB / 1.121 GB, free: 5.059 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.8007, allocations: 17.72 kB / 1.121 GB, free: 5.035 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.755e-05/0.8008, allocations: 334.8 kB / 1.121 GB, free: 4.699 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003007/0.8011, allocations: 111.9 kB / 1.121 GB, free: 4.59 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/0.8014, allocations: 158.1 kB / 1.121 GB, free: 4.422 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006059/0.802, allocations: 268.6 kB / 1.121 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.802, allocations: 7.938 kB / 1.122 GB, free: 4.137 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001137/0.8032, allocations: 383.7 kB / 1.122 GB, free: 3.754 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.8032, allocations: 4 kB / 1.122 GB, free: 3.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.8032, allocations: 4 kB / 1.122 GB, free: 3.746 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005621/0.8038, allocations: 92.88 kB / 1.122 GB, free: 3.652 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.804, allocations: 43.97 kB / 1.122 GB, free: 3.609 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/0.8059, allocations: 1.606 MB / 1.124 GB, free: 1.867 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.8062, allocations: 51.81 kB / 1.124 GB, free: 1.816 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.8062, allocations: 4 kB / 1.124 GB, free: 1.812 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.0001257/0.8063, allocations: 143.7 kB / 1.124 GB, free: 1.664 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.047e-05/0.8064, allocations: 23.72 kB / 1.124 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.8076, allocations: 410.4 kB / 1.124 GB, free: 1.23 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.8076, allocations: 3.984 kB / 1.124 GB, free: 1.227 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.8076, allocations: 7.938 kB / 1.124 GB, free: 1.219 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.8076, allocations: 0 / 1.124 GB, free: 1.219 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/0.8092, allocations: 0.8098 MB / 1.125 GB, free: 348 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.8092, allocations: 4 kB / 1.125 GB, free: 344 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.8094, allocations: 43.91 kB / 1.125 GB, free: 300 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000491/0.8099, allocations: 92.84 kB / 1.125 GB, free: 204 kB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.8099, allocations: 4 kB / 1.125 GB, free: 200 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001697/0.8116, allocations: 1.629 MB / 1.127 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.8116, allocations: 0 / 1.127 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.8128, allocations: 490.4 kB / 1.127 GB, free: 13.92 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.8129, allocations: 116.8 kB / 1.127 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.8129, allocations: 8 kB / 1.127 GB, free: 13.78 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/0.8132, allocations: 27.97 kB / 1.127 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.882e-05/0.8133, allocations: 27.91 kB / 1.127 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.8133, allocations: 4 kB / 1.127 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001488/0.8134, allocations: 193.9 kB / 1.128 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8134, allocations: 0 / 1.128 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003693/0.8138, allocations: 87.83 kB / 1.128 GB, free: 13.45 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.001584/0.8154, allocations: 1.075 MB / 1.129 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0009606/0.8164, allocations: 394.7 kB / 1.129 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8164, allocations: 0 / 1.129 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005721/0.817, allocations: 286.5 kB / 1.129 GB, free: 11.65 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007286/0.8177, allocations: 114.4 kB / 1.129 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004579/0.8223, allocations: 2.981 MB / 1.132 GB, free: 8.438 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.8226, allocations: 0.7714 MB / 1.133 GB, free: 7.641 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002151/0.8229, allocations: 54.25 kB / 1.133 GB, free: 7.59 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.823, allocations: 75.41 kB / 1.133 GB, free: 7.516 MB / 0.8887 GB Notification: Performance of SimCode: time 6.52e-07/0.823, allocations: 4 kB / 1.133 GB, free: 7.512 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.071/1.894, allocations: 7.93 MB / 1.141 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002592/1.894, allocations: 281 kB / 1.141 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.969/5.863, allocations: 4.062 kB / 1.141 GB, free: 15.43 MB / 0.9044 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