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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002139/0.002139, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002239/0.002239, allocations: 157.6 kB / 22.75 MB, free: 1.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.543/1.543, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.368/3.368, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|senWetBul.T|sou.T_in|sou.Xi_in.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8776 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.707e-05, allocations: 3.078 kB / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.2039/0.204, allocations: 142.3 MB / 1.017 GB, free: 7.688 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.005776/0.2097, allocations: 3.233 MB / 1.02 GB, free: 4.449 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003919/0.2101, allocations: 11.88 kB / 1.02 GB, free: 4.438 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0005381/0.2107, allocations: 142.9 kB / 1.02 GB, free: 4.297 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001554/0.2122, allocations: 465.4 kB / 1.02 GB, free: 3.84 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.00182/0.214, allocations: 0.6228 MB / 1.021 GB, free: 3.215 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.000954/0.215, allocations: 0.6009 MB / 1.022 GB, free: 2.609 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004049/0.2154, allocations: 188.9 kB / 1.022 GB, free: 2.426 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002106/0.2175, allocations: 0.6 MB / 1.022 GB, free: 1.852 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003357/0.2178, allocations: 171.5 kB / 1.022 GB, free: 1.684 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 5.799e-05/0.2179, allocations: 20 kB / 1.022 GB, free: 1.664 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009265/0.2188, allocations: 478.6 kB / 1.023 GB, free: 1.195 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.219, allocations: 103.7 kB / 1.023 GB, free: 1.094 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.2191, allocations: 95.77 kB / 1.023 GB, free: 1 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.2202, allocations: 0.5764 MB / 1.024 GB, free: 432 kB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2202, allocations: 0 / 1.024 GB, free: 432 kB / 0.9792 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2202, allocations: 3.938 kB / 1.024 GB, free: 428 kB / 0.9792 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.2202, allocations: 0 / 1.024 GB, free: 428 kB / 0.9792 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.001219/0.2214, allocations: 0.5554 MB / 1.024 GB, free: 15.83 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.2215, allocations: 12.03 kB / 1.024 GB, free: 15.82 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006645/0.2221, allocations: 115.5 kB / 1.024 GB, free: 15.71 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004622/0.2226, allocations: 256.1 kB / 1.025 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.2226, allocations: 12.5 kB / 1.025 GB, free: 15.42 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.075e-05/0.2227, allocations: 20 kB / 1.025 GB, free: 15.4 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007731/0.2234, allocations: 364.4 kB / 1.025 GB, free: 15.02 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.2234, allocations: 3.938 kB / 1.025 GB, free: 15.01 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.2235, allocations: 8 kB / 1.025 GB, free: 15 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.2235, allocations: 11.94 kB / 1.025 GB, free: 14.99 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007314/0.2242, allocations: 252.8 kB / 1.025 GB, free: 14.75 MB / 0.9948 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.001739/0.226, allocations: 0.9449 MB / 1.026 GB, free: 13.75 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004752/0.2264, allocations: 162.5 kB / 1.026 GB, free: 13.58 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003442/0.2268, allocations: 124.4 kB / 1.026 GB, free: 13.46 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004981/0.2273, allocations: 71.92 kB / 1.026 GB, free: 13.39 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.2273, allocations: 38.56 kB / 1.027 GB, free: 13.34 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.2273, allocations: 0 / 1.027 GB, free: 13.34 MB / 0.9948 GB Notification: Performance of matching and sorting (n=14): time 0.002387/0.2297, allocations: 0.5019 MB / 1.027 GB, free: 12.83 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.2298, allocations: 55.41 kB / 1.027 GB, free: 12.77 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002736/0.23, allocations: 225.8 kB / 1.027 GB, free: 12.53 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.2301, allocations: 25.7 kB / 1.027 GB, free: 12.5 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.2302, allocations: 172.3 kB / 1.027 GB, free: 12.32 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.908e-05/0.2303, allocations: 51.53 kB / 1.028 GB, free: 12.27 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.334e-05/0.2304, allocations: 33.7 kB / 1.028 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001997/0.2306, allocations: 334.8 kB / 1.028 GB, free: 11.9 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003234/0.2309, allocations: 95.92 kB / 1.028 GB, free: 11.8 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000366/0.2312, allocations: 168 kB / 1.028 GB, free: 11.62 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006551/0.2319, allocations: 240.1 kB / 1.028 GB, free: 11.37 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2319, allocations: 0 / 1.028 GB, free: 11.37 MB / 0.9948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001303/0.2332, allocations: 354 kB / 1.029 GB, free: 11.02 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.2332, allocations: 7.938 kB / 1.029 GB, free: 11.01 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.2332, allocations: 4.125 kB / 1.029 GB, free: 11 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/0.2343, allocations: 140.7 kB / 1.029 GB, free: 10.86 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.2345, allocations: 47.89 kB / 1.029 GB, free: 10.82 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002638/0.2371, allocations: 1.595 MB / 1.03 GB, free: 9.121 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.2374, allocations: 27.88 kB / 1.03 GB, free: 9.094 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.505e-05/0.2374, allocations: 11.98 kB / 1.03 GB, free: 9.082 MB / 0.9948 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.0001917/0.2376, allocations: 149.7 kB / 1.031 GB, free: 8.926 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-05/0.2377, allocations: 31.8 kB / 1.031 GB, free: 8.895 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.239, allocations: 358.6 kB / 1.031 GB, free: 8.539 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.239, allocations: 3.938 kB / 1.031 GB, free: 8.535 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.239, allocations: 7.938 kB / 1.031 GB, free: 8.527 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.239, allocations: 3.984 kB / 1.031 GB, free: 8.523 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/0.2408, allocations: 0.6729 MB / 1.032 GB, free: 7.801 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.2408, allocations: 7.984 kB / 1.032 GB, free: 7.793 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/0.241, allocations: 40.06 kB / 1.032 GB, free: 7.754 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008035/0.2418, allocations: 132.7 kB / 1.032 GB, free: 7.621 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.2418, allocations: 0 / 1.032 GB, free: 7.621 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002307/0.2441, allocations: 1.621 MB / 1.033 GB, free: 5.887 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2441, allocations: 0 / 1.033 GB, free: 5.887 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/0.2455, allocations: 466.4 kB / 1.034 GB, free: 5.402 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.2456, allocations: 39.78 kB / 1.034 GB, free: 5.363 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.557e-05/0.2456, allocations: 11.98 kB / 1.034 GB, free: 5.352 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002554/0.2459, allocations: 15.98 kB / 1.034 GB, free: 5.336 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.39e-05/0.246, allocations: 23.95 kB / 1.034 GB, free: 5.312 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.246, allocations: 8 kB / 1.034 GB, free: 5.305 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001646/0.2462, allocations: 157.2 kB / 1.034 GB, free: 5.152 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.2462, allocations: 0 / 1.034 GB, free: 5.152 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000475/0.2467, allocations: 91.84 kB / 1.034 GB, free: 5.062 MB / 0.9948 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.0003245/0.247, allocations: 149.8 kB / 1.034 GB, free: 4.91 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001097/0.2481, allocations: 354.3 kB / 1.035 GB, free: 4.555 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2481, allocations: 4 kB / 1.035 GB, free: 4.551 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006631/0.2488, allocations: 250.4 kB / 1.035 GB, free: 4.293 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006913/0.2494, allocations: 104.9 kB / 1.035 GB, free: 4.191 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.2506, allocations: 0.4972 MB / 1.036 GB, free: 3.656 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001966/0.2508, allocations: 166.2 kB / 1.036 GB, free: 3.48 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001925/0.2509, allocations: 45.61 kB / 1.036 GB, free: 3.434 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.885e-05/0.251, allocations: 20.5 kB / 1.036 GB, free: 3.414 MB / 0.9948 GB Notification: Performance of SimCode: time 5.2e-07/0.251, allocations: 0 / 1.036 GB, free: 3.414 MB / 0.9948 GB Notification: Performance of Templates: time 0.01253/0.2635, allocations: 5.479 MB / 1.041 GB, free: 14.05 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.276420725043863]