Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senWetBul.T|sou.T_in|sou.Xi_in.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senWetBul.T|sou.T_in|sou.Xi_in.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008335/0.008335, allocations: 95.61 kB / 15.73 MB, free: 6.043 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.001698/0.001698, allocations: 196.7 kB / 16.67 MB, free: 5.973 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.767/2.767, allocations: 472.6 MB / 0.7453 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 67.84 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4049, allocations: 159.9 MB / 1.226 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.9725/1.377, allocations: 161.5 MB / 1.383 GB, free: 1.266 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004794/1.382, allocations: 3.494 MB / 1.387 GB, free: 14.55 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002791/1.383, allocations: 9.469 kB / 1.387 GB, free: 14.55 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0004796/1.383, allocations: 133.1 kB / 1.387 GB, free: 14.43 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001147/1.384, allocations: 450.7 kB / 1.387 GB, free: 14.1 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001554/1.386, allocations: 0.5972 MB / 1.388 GB, free: 13.65 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0007697/1.387, allocations: 0.6254 MB / 1.388 GB, free: 13.29 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000401/1.387, allocations: 225 kB / 1.389 GB, free: 13.16 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/1.388, allocations: 348.2 kB / 1.389 GB, free: 12.98 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002862/1.388, allocations: 194.4 kB / 1.389 GB, free: 12.86 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 4.752e-05/1.388, allocations: 21.5 kB / 1.389 GB, free: 12.86 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009663/1.389, allocations: 0.5488 MB / 1.39 GB, free: 12.56 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/1.39, allocations: 100.4 kB / 1.39 GB, free: 12.49 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001649/1.39, allocations: 143.9 kB / 1.39 GB, free: 12.39 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0008254/1.391, allocations: 0.5511 MB / 1.391 GB, free: 12.06 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/1.391, allocations: 0 / 1.391 GB, free: 12.06 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.382e-06/1.391, allocations: 3.938 kB / 1.391 GB, free: 12.05 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.193e-06/1.391, allocations: 1.125 kB / 1.391 GB, free: 12.05 MB / 1.092 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.001074/1.392, allocations: 0.6447 MB / 1.391 GB, free: 11.48 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/1.392, allocations: 9.75 kB / 1.391 GB, free: 11.48 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004908/1.392, allocations: 83.08 kB / 1.391 GB, free: 11.44 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/1.393, allocations: 315.3 kB / 1.392 GB, free: 11.13 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/1.393, allocations: 15.62 kB / 1.392 GB, free: 11.12 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/1.393, allocations: 17.34 kB / 1.392 GB, free: 11.12 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006377/1.393, allocations: 314.2 kB / 1.392 GB, free: 10.91 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/1.393, allocations: 0 / 1.392 GB, free: 10.91 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.026e-05/1.393, allocations: 14.25 kB / 1.392 GB, free: 10.9 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/1.393, allocations: 9.297 kB / 1.392 GB, free: 10.9 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006433/1.394, allocations: 246.1 kB / 1.392 GB, free: 10.79 MB / 1.092 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.001499/1.396, allocations: 1.244 MB / 1.393 GB, free: 9.633 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004218/1.396, allocations: 170.6 kB / 1.394 GB, free: 9.539 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000306/1.396, allocations: 125.9 kB / 1.394 GB, free: 9.477 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005247/1.397, allocations: 302.3 kB / 1.394 GB, free: 9.168 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/1.397, allocations: 44.56 kB / 1.394 GB, free: 9.117 MB / 1.092 GB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/1.397, allocations: 0 / 1.394 GB, free: 9.117 MB / 1.092 GB Notification: Performance of matching and sorting (n=14): time 0.002113/1.399, allocations: 0.5693 MB / 1.395 GB, free: 8.77 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/1.399, allocations: 52.53 kB / 1.395 GB, free: 8.707 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/1.399, allocations: 260.2 kB / 1.395 GB, free: 8.531 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/1.399, allocations: 26.95 kB / 1.395 GB, free: 8.5 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/1.4, allocations: 178.3 kB / 1.395 GB, free: 8.336 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/1.4, allocations: 53.47 kB / 1.395 GB, free: 8.289 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.886e-05/1.4, allocations: 35.95 kB / 1.395 GB, free: 8.262 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001383/1.4, allocations: 335.7 kB / 1.395 GB, free: 7.93 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002914/1.4, allocations: 94.88 kB / 1.396 GB, free: 7.887 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003068/1.4, allocations: 135.1 kB / 1.396 GB, free: 7.797 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005941/1.401, allocations: 236.4 kB / 1.396 GB, free: 7.656 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.401, allocations: 0 / 1.396 GB, free: 7.656 MB / 1.092 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001134/1.402, allocations: 350.3 kB / 1.396 GB, free: 7.469 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/1.402, allocations: 10.06 kB / 1.396 GB, free: 7.465 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/1.402, allocations: 1.281 kB / 1.396 GB, free: 7.465 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005673/1.403, allocations: 90.44 kB / 1.396 GB, free: 7.418 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/1.403, allocations: 46.72 kB / 1.396 GB, free: 7.402 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/1.405, allocations: 1.724 MB / 1.398 GB, free: 5.75 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/1.405, allocations: 33.98 kB / 1.398 GB, free: 5.73 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/1.405, allocations: 5.312 kB / 1.398 GB, free: 5.73 MB / 1.092 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.0001547/1.406, allocations: 154.9 kB / 1.398 GB, free: 5.586 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.84e-05/1.406, allocations: 27.75 kB / 1.398 GB, free: 5.57 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001142/1.407, allocations: 367.8 kB / 1.399 GB, free: 5.355 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/1.407, allocations: 1.156 kB / 1.399 GB, free: 5.355 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/1.407, allocations: 1.062 kB / 1.399 GB, free: 5.355 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/1.407, allocations: 0 / 1.399 GB, free: 5.355 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/1.408, allocations: 0.7816 MB / 1.399 GB, free: 4.738 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.408, allocations: 3.281 kB / 1.399 GB, free: 4.738 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/1.409, allocations: 32.59 kB / 1.399 GB, free: 4.73 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000424/1.409, allocations: 85.12 kB / 1.399 GB, free: 4.684 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/1.409, allocations: 9.312 kB / 1.4 GB, free: 4.676 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001928/1.411, allocations: 1.739 MB / 1.401 GB, free: 3.027 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.411, allocations: 1.156 kB / 1.401 GB, free: 3.027 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/1.412, allocations: 467.9 kB / 1.402 GB, free: 2.699 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/1.412, allocations: 123.2 kB / 1.402 GB, free: 2.574 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/1.412, allocations: 2.156 kB / 1.402 GB, free: 2.574 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/1.413, allocations: 28.44 kB / 1.402 GB, free: 2.559 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.568e-05/1.413, allocations: 19.56 kB / 1.402 GB, free: 2.547 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/1.413, allocations: 4.875 kB / 1.402 GB, free: 2.547 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0001804/1.413, allocations: 186.3 kB / 1.402 GB, free: 2.418 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.51e-07/1.413, allocations: 4 kB / 1.402 GB, free: 2.414 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0004237/1.413, allocations: 82.08 kB / 1.402 GB, free: 2.398 MB / 1.092 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.0003821/1.414, allocations: 168.5 kB / 1.402 GB, free: 2.27 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0009618/1.415, allocations: 360.3 kB / 1.403 GB, free: 2.047 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.415, allocations: 1.5 kB / 1.403 GB, free: 2.047 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0005603/1.415, allocations: 262 kB / 1.403 GB, free: 1.859 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006924/1.416, allocations: 124.7 kB / 1.403 GB, free: 1.801 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008585/1.417, allocations: 0.5042 MB / 1.403 GB, free: 1.438 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/1.417, allocations: 0.7719 MB / 1.404 GB, free: 0.6992 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001881/1.417, allocations: 63.67 kB / 1.404 GB, free: 0.6641 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.171e-05/1.417, allocations: 20.31 kB / 1.404 GB, free: 0.6562 MB / 1.092 GB Notification: Performance of SimCode: time 3.2e-07/1.417, allocations: 1.062 kB / 1.404 GB, free: 0.6562 MB / 1.092 GB Notification: Performance of Templates: time 0.01123/1.429, allocations: 5.974 MB / 1.41 GB, free: 13.67 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches