Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 108 kB / 15.6 MB, free: 132 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.001726/0.001726, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.478/1.478, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.728/2.728, allocations: 437 MB / 0.7104 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 72.02 kB / 0.8692 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6811/0.6831, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003605/0.6867, allocations: 1.868 MB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002687/0.6895, allocations: 1.588 MB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.6896, allocations: 0 / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002634/0.6899, allocations: 31.77 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000349/0.6903, allocations: 79.56 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005059/0.6908, allocations: 160.7 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003522/0.6912, allocations: 293.2 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.6913, allocations: 35.06 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.6914, allocations: 91.83 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002633/0.6917, allocations: 107.6 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.855e-05/0.6917, allocations: 20 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/0.6919, allocations: 87.95 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.6921, allocations: 83.8 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.6922, allocations: 127.2 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004148/0.6926, allocations: 323 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.6926, allocations: 0 / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6927, allocations: 0 / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.177e-05/0.6927, allocations: 0 / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009397/0.6936, allocations: 0.5501 MB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.6937, allocations: 12.03 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001948/0.6939, allocations: 32.56 kB / 1.023 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/0.6942, allocations: 278.7 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.6943, allocations: 8.375 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.885e-05/0.6943, allocations: 28.12 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004135/0.6947, allocations: 244.8 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.6948, allocations: 0 / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.6948, allocations: 12 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.6948, allocations: 4 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009495/0.6958, allocations: 0.7451 MB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.6969, allocations: 0.6331 MB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000548/0.6975, allocations: 313.9 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.6976, allocations: 109.4 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.577e-05/0.6977, allocations: 24.25 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004114/0.6981, allocations: 172.8 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=35): time 2.184e-06/0.6981, allocations: 4 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35): time 0.000754/0.6989, allocations: 384.6 kB / 1.025 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.357e-05/0.699, allocations: 132.5 kB / 1.026 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003528/0.6994, allocations: 309 kB / 1.026 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.782e-05/0.6994, allocations: 37.7 kB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.6995, allocations: 132.6 kB / 1.026 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.6996, allocations: 122.2 kB / 1.026 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.6997, allocations: 69.67 kB / 1.026 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001862/0.6999, allocations: 338.8 kB / 1.027 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.7001, allocations: 79.95 kB / 1.027 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.7003, allocations: 131.2 kB / 1.027 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003719/0.7007, allocations: 214.3 kB / 1.027 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7007, allocations: 0 / 1.027 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004814/0.7012, allocations: 281.1 kB / 1.027 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.7012, allocations: 4 kB / 1.027 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.7012, allocations: 7.938 kB / 1.027 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.7012, allocations: 0 / 1.027 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.7015, allocations: 67.91 kB / 1.027 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.7015, allocations: 0 / 1.027 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.7017, allocations: 31.73 kB / 1.027 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.7017, allocations: 15.98 kB / 1.027 GB, free: 7.855 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001804/0.7019, allocations: 161.8 kB / 1.028 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.917e-05/0.702, allocations: 27.72 kB / 1.028 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007717/0.7027, allocations: 384.8 kB / 1.028 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.7028, allocations: 4 kB / 1.028 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.7028, allocations: 4 kB / 1.028 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.7028, allocations: 7.922 kB / 1.028 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003681/0.7032, allocations: 341.2 kB / 1.028 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.7032, allocations: 0 / 1.028 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.7033, allocations: 59.91 kB / 1.028 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.7034, allocations: 0 / 1.028 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/0.7034, allocations: 15.92 kB / 1.028 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.7034, allocations: 4 kB / 1.028 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.7034, allocations: 0 / 1.028 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005808/0.704, allocations: 329.5 kB / 1.029 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.7042, allocations: 144.7 kB / 1.029 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.635e-05/0.7042, allocations: 11.94 kB / 1.029 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.7044, allocations: 19.98 kB / 1.029 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.759e-05/0.7045, allocations: 23.95 kB / 1.029 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/0.7045, allocations: 20 kB / 1.029 GB, free: 6.227 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002224/0.7048, allocations: 236.4 kB / 1.029 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7048, allocations: 0 / 1.029 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003112/0.7051, allocations: 79.84 kB / 1.029 GB, free: 5.918 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001419/0.7065, allocations: 411.5 kB / 1.03 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005765/0.7071, allocations: 300.2 kB / 1.03 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.7071, allocations: 8 kB / 1.03 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002114/0.7073, allocations: 132.3 kB / 1.03 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.7076, allocations: 41.55 kB / 1.03 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008822/0.7085, allocations: 0.5215 MB / 1.031 GB, free: 4.637 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/0.7089, allocations: 0.7614 MB / 1.031 GB, free: 3.848 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003324/0.7093, allocations: 146.9 kB / 1.031 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.594e-05/0.7094, allocations: 39.42 kB / 1.031 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.7094, allocations: 0 / 1.031 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of Templates: time 0.007892/0.7173, allocations: 3.394 MB / 1.035 GB, free: 312 kB / 0.7794 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches