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.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.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.001507/0.001508, allocations: 104 kB / 15.6 MB, free: 148 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.001605/0.001605, allocations: 197.3 kB / 16.53 MB, free: 6.617 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.255/1.255, allocations: 222.9 MB / 240.2 MB, free: 4.355 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.172/2.172, allocations: 390.3 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 67.89 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5625/0.5637, allocations: 140.4 MB / 0.9497 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1647/0.7285, allocations: 161.5 MB / 1.107 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.004484/0.733, allocations: 3.494 MB / 1.111 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000297/0.7333, allocations: 11.94 kB / 1.111 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0003975/0.7337, allocations: 131 kB / 1.111 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001075/0.7348, allocations: 457.9 kB / 1.111 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.7362, allocations: 0.5876 MB / 1.112 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0005857/0.7368, allocations: 0.6245 MB / 1.113 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003706/0.7372, allocations: 232.6 kB / 1.113 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001097/0.7383, allocations: 347.7 kB / 1.113 GB, free: 9.859 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002804/0.7386, allocations: 195.2 kB / 1.113 GB, free: 9.668 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.706e-05/0.7386, allocations: 27.94 kB / 1.113 GB, free: 9.641 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008465/0.7395, allocations: 0.5417 MB / 1.114 GB, free: 9.098 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.7396, allocations: 87.78 kB / 1.114 GB, free: 9.012 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.7398, allocations: 147.3 kB / 1.114 GB, free: 8.867 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0007815/0.7405, allocations: 0.5376 MB / 1.115 GB, free: 8.328 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.7406, allocations: 0 / 1.115 GB, free: 8.328 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7406, allocations: 4 kB / 1.115 GB, free: 8.324 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.7406, allocations: 0 / 1.115 GB, free: 8.324 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.001048/0.7416, allocations: 0.6427 MB / 1.115 GB, free: 7.633 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.7417, allocations: 8.031 kB / 1.115 GB, free: 7.625 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.024e-05/0.7417, allocations: 54.55 kB / 1.115 GB, free: 7.562 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005035/0.7423, allocations: 79.5 kB / 1.115 GB, free: 7.484 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.7426, allocations: 289.4 kB / 1.116 GB, free: 7.164 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.7426, allocations: 16.44 kB / 1.116 GB, free: 7.148 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.7426, allocations: 20 kB / 1.116 GB, free: 7.129 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005978/0.7433, allocations: 312.1 kB / 1.116 GB, free: 6.801 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.7433, allocations: 4 kB / 1.116 GB, free: 6.797 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.7433, allocations: 8 kB / 1.116 GB, free: 6.789 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.7433, allocations: 7.938 kB / 1.116 GB, free: 6.781 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006692/0.744, allocations: 256.6 kB / 1.116 GB, free: 6.531 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.001478/0.7455, allocations: 1.256 MB / 1.118 GB, free: 5.164 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004286/0.7459, allocations: 174.5 kB / 1.118 GB, free: 4.984 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003121/0.7462, allocations: 128.8 kB / 1.118 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000578/0.7468, allocations: 295.2 kB / 1.118 GB, free: 4.512 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.7469, allocations: 46.42 kB / 1.118 GB, free: 4.457 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.7469, allocations: 4 kB / 1.118 GB, free: 4.453 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.002198/0.7491, allocations: 0.573 MB / 1.119 GB, free: 3.852 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.7491, allocations: 55.41 kB / 1.119 GB, free: 3.785 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.7494, allocations: 259 kB / 1.119 GB, free: 3.527 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.7494, allocations: 33.7 kB / 1.119 GB, free: 3.488 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.529e-05/0.7495, allocations: 156.2 kB / 1.119 GB, free: 3.332 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.549e-05/0.7496, allocations: 55.34 kB / 1.119 GB, free: 3.277 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.155e-05/0.7496, allocations: 37.61 kB / 1.119 GB, free: 3.234 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.7498, allocations: 334.8 kB / 1.12 GB, free: 2.898 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/0.75, allocations: 95.91 kB / 1.12 GB, free: 2.805 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002928/0.7503, allocations: 136.2 kB / 1.12 GB, free: 2.656 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005534/0.7509, allocations: 237.2 kB / 1.12 GB, free: 2.41 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7509, allocations: 0 / 1.12 GB, free: 2.41 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0011/0.752, allocations: 350.8 kB / 1.12 GB, free: 2.059 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.752, allocations: 5.562 kB / 1.12 GB, free: 2.055 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.7521, allocations: 4.125 kB / 1.12 GB, free: 2.051 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005719/0.7526, allocations: 92.75 kB / 1.12 GB, free: 1.957 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.7529, allocations: 47.91 kB / 1.121 GB, free: 1.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/0.7549, allocations: 1.724 MB / 1.122 GB, free: 44 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.7551, allocations: 31.81 kB / 1.122 GB, free: 12 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.7551, allocations: 8 kB / 1.122 GB, free: 4 kB / 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.0001478/0.7553, allocations: 149.8 kB / 1.122 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.505e-05/0.7553, allocations: 23.72 kB / 1.122 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.7565, allocations: 366.7 kB / 1.123 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.7565, allocations: 0 / 1.123 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.7565, allocations: 4 kB / 1.123 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.7565, allocations: 0 / 1.123 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.7582, allocations: 0.7746 MB / 1.123 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.7582, allocations: 0 / 1.123 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.7584, allocations: 35.97 kB / 1.124 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004435/0.7588, allocations: 88.73 kB / 1.124 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.7588, allocations: 4 kB / 1.124 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001876/0.7607, allocations: 1.743 MB / 1.125 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.7607, allocations: 3.938 kB / 1.125 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.7619, allocations: 454.4 kB / 1.126 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.762, allocations: 124.7 kB / 1.126 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/0.762, allocations: 7.938 kB / 1.126 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/0.7623, allocations: 23.97 kB / 1.126 GB, free: 11.94 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/0.7624, allocations: 23.97 kB / 1.126 GB, free: 11.92 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.7624, allocations: 4 kB / 1.126 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001615/0.7626, allocations: 193.9 kB / 1.126 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1e-07/0.7626, allocations: 0 / 1.126 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003972/0.763, allocations: 71.94 kB / 1.126 GB, free: 11.66 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.001619/0.7646, allocations: 1.057 MB / 1.127 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0009514/0.7656, allocations: 362.4 kB / 1.128 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7656, allocations: 4 kB / 1.128 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005644/0.7661, allocations: 258.9 kB / 1.128 GB, free: 9.934 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006895/0.7668, allocations: 120.1 kB / 1.128 GB, free: 9.816 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004421/0.7713, allocations: 2.821 MB / 1.131 GB, free: 6.875 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.7716, allocations: 0.7714 MB / 1.131 GB, free: 6.078 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001935/0.7718, allocations: 54.25 kB / 1.131 GB, free: 6.027 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.7719, allocations: 75.41 kB / 1.132 GB, free: 5.953 MB / 0.8887 GB Notification: Performance of SimCode: time 3.31e-07/0.7719, allocations: 0 / 1.132 GB, free: 5.953 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.094/5.866, allocations: 8.579 MB / 1.14 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.92/22.79, allocations: 6.719 kB / 1.14 GB, free: 13.55 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