Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002075/0.002075, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002402/0.002402, allocations: 196 kB / 22.11 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.296/3.296, allocations: 495.8 MB / 0.783 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=2500,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 64.16 kB / 1.137 GB, free: 33.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3265, allocations: 173.6 MB / 1.307 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003575/0.33, allocations: 1.901 MB / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002923/0.333, allocations: 1.676 MB / 1.31 GB, free: 14.27 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.3331, allocations: 4 kB / 1.31 GB, free: 14.26 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003487/0.3334, allocations: 39.61 kB / 1.31 GB, free: 14.22 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003922/0.3338, allocations: 75.59 kB / 1.31 GB, free: 14.15 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005326/0.3343, allocations: 176.3 kB / 1.311 GB, free: 13.98 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003943/0.3347, allocations: 285.3 kB / 1.311 GB, free: 13.7 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.3349, allocations: 29.05 kB / 1.311 GB, free: 13.67 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.335, allocations: 91.81 kB / 1.311 GB, free: 13.58 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002762/0.3353, allocations: 112.9 kB / 1.311 GB, free: 13.47 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.928e-05/0.3353, allocations: 24 kB / 1.311 GB, free: 13.45 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/0.3355, allocations: 83.95 kB / 1.311 GB, free: 13.37 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.3357, allocations: 91.73 kB / 1.311 GB, free: 13.28 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.3358, allocations: 119.3 kB / 1.311 GB, free: 13.16 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004637/0.3363, allocations: 326.6 kB / 1.312 GB, free: 12.84 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.3363, allocations: 0 / 1.312 GB, free: 12.84 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3363, allocations: 0 / 1.312 GB, free: 12.84 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.273e-05/0.3363, allocations: 4 kB / 1.312 GB, free: 12.84 MB / 1.014 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.0008201/0.3371, allocations: 0.4976 MB / 1.312 GB, free: 12.31 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.3371, allocations: 12.03 kB / 1.312 GB, free: 12.3 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.3373, allocations: 32.75 kB / 1.312 GB, free: 12.27 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.3376, allocations: 217.1 kB / 1.312 GB, free: 12.03 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.3376, allocations: 16.38 kB / 1.312 GB, free: 12.02 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.3377, allocations: 20.12 kB / 1.312 GB, free: 12 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004128/0.3381, allocations: 241.6 kB / 1.313 GB, free: 11.74 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.3381, allocations: 7.922 kB / 1.313 GB, free: 11.73 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.3381, allocations: 11.94 kB / 1.313 GB, free: 11.72 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.3381, allocations: 8 kB / 1.313 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009602/0.3391, allocations: 0.7412 MB / 1.313 GB, free: 10.97 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.3402, allocations: 0.6127 MB / 1.314 GB, free: 10.31 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005325/0.3407, allocations: 286.8 kB / 1.314 GB, free: 10.02 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.3409, allocations: 101.9 kB / 1.314 GB, free: 9.922 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.99e-05/0.341, allocations: 16.25 kB / 1.314 GB, free: 9.906 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004043/0.3414, allocations: 189.1 kB / 1.315 GB, free: 9.711 MB / 1.014 GB Notification: Performance of pre-optimization done (n=35): time 2.315e-06/0.3414, allocations: 0 / 1.315 GB, free: 9.711 MB / 1.014 GB Notification: Performance of matching and sorting (n=35): time 0.0007432/0.3421, allocations: 387 kB / 1.315 GB, free: 9.328 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.3422, allocations: 132.5 kB / 1.315 GB, free: 9.168 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003194/0.3425, allocations: 308.9 kB / 1.315 GB, free: 8.855 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.374e-05/0.3426, allocations: 37.7 kB / 1.315 GB, free: 8.812 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.3427, allocations: 132.7 kB / 1.316 GB, free: 8.68 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.3428, allocations: 119 kB / 1.316 GB, free: 8.562 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.3429, allocations: 69.67 kB / 1.316 GB, free: 8.488 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.3431, allocations: 342.8 kB / 1.316 GB, free: 8.145 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.3432, allocations: 79.95 kB / 1.316 GB, free: 8.066 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.3434, allocations: 127.3 kB / 1.316 GB, free: 7.93 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003835/0.3438, allocations: 217.4 kB / 1.316 GB, free: 7.715 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3438, allocations: 0 / 1.316 GB, free: 7.715 MB / 1.014 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000487/0.3443, allocations: 277.3 kB / 1.317 GB, free: 7.438 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.3443, allocations: 8 kB / 1.317 GB, free: 7.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.3443, allocations: 3.938 kB / 1.317 GB, free: 7.426 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.3443, allocations: 0 / 1.317 GB, free: 7.426 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.3446, allocations: 67.91 kB / 1.317 GB, free: 7.359 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.3446, allocations: 4 kB / 1.317 GB, free: 7.355 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.3448, allocations: 31.83 kB / 1.317 GB, free: 7.324 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.3448, allocations: 15.98 kB / 1.317 GB, free: 7.309 MB / 1.014 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.0001841/0.345, allocations: 166.2 kB / 1.317 GB, free: 7.137 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.823e-05/0.345, allocations: 23.86 kB / 1.317 GB, free: 7.113 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007334/0.3458, allocations: 396.6 kB / 1.317 GB, free: 6.715 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.3458, allocations: 4 kB / 1.317 GB, free: 6.711 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3458, allocations: 0 / 1.317 GB, free: 6.711 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.3458, allocations: 3.984 kB / 1.317 GB, free: 6.707 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003593/0.3461, allocations: 308.4 kB / 1.318 GB, free: 6.363 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3462, allocations: 3.938 kB / 1.318 GB, free: 6.359 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.3463, allocations: 59.91 kB / 1.318 GB, free: 6.301 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3463, allocations: 4 kB / 1.318 GB, free: 6.297 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/0.3464, allocations: 19.92 kB / 1.318 GB, free: 6.277 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.3464, allocations: 4 kB / 1.318 GB, free: 6.273 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3464, allocations: 0 / 1.318 GB, free: 6.273 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005163/0.3469, allocations: 322.5 kB / 1.318 GB, free: 5.941 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.347, allocations: 71.72 kB / 1.318 GB, free: 5.871 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.788e-05/0.3471, allocations: 11.94 kB / 1.318 GB, free: 5.859 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.3473, allocations: 19.98 kB / 1.318 GB, free: 5.84 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.688e-05/0.3473, allocations: 27.95 kB / 1.318 GB, free: 5.812 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.368e-05/0.3474, allocations: 15.98 kB / 1.318 GB, free: 5.797 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002554/0.3476, allocations: 236.4 kB / 1.318 GB, free: 5.566 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3476, allocations: 0 / 1.318 GB, free: 5.566 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003139/0.3479, allocations: 71.83 kB / 1.319 GB, free: 5.496 MB / 1.014 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.001438/0.3494, allocations: 403.7 kB / 1.319 GB, free: 5.242 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004763/0.3499, allocations: 235.4 kB / 1.319 GB, free: 5.012 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3499, allocations: 0 / 1.319 GB, free: 5.012 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002099/0.3501, allocations: 124.8 kB / 1.319 GB, free: 4.891 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.3504, allocations: 42 kB / 1.319 GB, free: 4.855 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009154/0.3513, allocations: 0.5388 MB / 1.32 GB, free: 4.293 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/0.3517, allocations: 0.7614 MB / 1.321 GB, free: 3.504 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003371/0.352, allocations: 146.8 kB / 1.321 GB, free: 3.363 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.3522, allocations: 43.42 kB / 1.321 GB, free: 3.32 MB / 1.014 GB Notification: Performance of SimCode: time 5.31e-07/0.3522, allocations: 0 / 1.321 GB, free: 3.32 MB / 1.014 GB Notification: Performance of Templates: time 0.008167/0.3603, allocations: 3.614 MB / 1.324 GB, free: 15.74 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.309666267596185]