Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008772/0.008771, allocations: 106.1 kB / 15.73 MB, free: 6 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.001701/0.001701, allocations: 192.2 kB / 16.67 MB, free: 5.922 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.495/1.495, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.667/2.667, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 67.89 kB / 1.054 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.996/0.9972, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.004201/1.002, allocations: 1.467 MB / 1.209 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00115/1.003, allocations: 474.9 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.359e-05/1.003, allocations: 0 / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.435e-05/1.003, allocations: 7.922 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003259/1.003, allocations: 23.84 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001321/1.003, allocations: 15.94 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001427/1.004, allocations: 59.77 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/1.004, allocations: 4 kB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/1.004, allocations: 31.86 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/1.004, allocations: 23.91 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/1.004, allocations: 4 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.648e-05/1.004, allocations: 4 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.511e-05/1.004, allocations: 7.984 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.017e-05/1.004, allocations: 27.86 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/1.004, allocations: 39.55 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.004, allocations: 0 / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.885e-06/1.004, allocations: 0 / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.785e-06/1.004, allocations: 0 / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006967/1.005, allocations: 353.4 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/1.005, allocations: 8.031 kB / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.984e-05/1.005, allocations: 4.844 kB / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/1.005, allocations: 176.3 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/1.005, allocations: 16.31 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/1.005, allocations: 4.359 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/1.005, allocations: 61.92 kB / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/1.005, allocations: 0 / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/1.006, allocations: 0 / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/1.006, allocations: 0 / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.92e-05/1.006, allocations: 19.98 kB / 1.21 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004707/1.006, allocations: 272.8 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/1.006, allocations: 46.61 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.15e-05/1.006, allocations: 24.84 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/1.006, allocations: 0 / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002254/1.007, allocations: 59.39 kB / 1.211 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 2.003e-06/1.007, allocations: 0 / 1.211 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5): time 0.0002509/1.007, allocations: 85.61 kB / 1.211 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/1.007, allocations: 63.34 kB / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/1.007, allocations: 109.8 kB / 1.211 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/1.007, allocations: 25.7 kB / 1.211 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.9e-05/1.007, allocations: 88.05 kB / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/1.007, allocations: 15.84 kB / 1.211 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-05/1.007, allocations: 17.7 kB / 1.211 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002122/1.007, allocations: 318.8 kB / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.681e-05/1.007, allocations: 15.98 kB / 1.212 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.057e-05/1.007, allocations: 12 kB / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.32e-05/1.008, allocations: 32.86 kB / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.008, allocations: 0 / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001188/1.008, allocations: 65.97 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/1.008, allocations: 8 kB / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/1.008, allocations: 0 / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/1.008, allocations: 0 / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/1.008, allocations: 19.98 kB / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/1.008, allocations: 0 / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.961e-05/1.008, allocations: 0 / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/1.008, allocations: 8 kB / 1.212 GB, free: 9.312 MB / 0.9356 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 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 9.441e-05/1.008, allocations: 117.8 kB / 1.212 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.427e-05/1.008, allocations: 3.906 kB / 1.212 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.938e-05/1.008, allocations: 7.953 kB / 1.212 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/1.008, allocations: 4 kB / 1.212 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/1.008, allocations: 0 / 1.212 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/1.008, allocations: 0 / 1.212 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/1.008, allocations: 169.6 kB / 1.212 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/1.008, allocations: 0 / 1.212 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.018e-05/1.008, allocations: 11.92 kB / 1.212 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/1.008, allocations: 4 kB / 1.212 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/1.008, allocations: 11.94 kB / 1.212 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/1.008, allocations: 0 / 1.212 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.008, allocations: 0 / 1.212 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/1.009, allocations: 89.06 kB / 1.212 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.535e-05/1.009, allocations: 85 kB / 1.212 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/1.009, allocations: 8 kB / 1.212 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.534e-05/1.009, allocations: 7.938 kB / 1.212 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/1.009, allocations: 7.984 kB / 1.212 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/1.009, allocations: 0 / 1.212 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.347e-05/1.009, allocations: 91.27 kB / 1.212 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.009, allocations: 0 / 1.212 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002034/1.009, allocations: 8 kB / 1.212 GB, free: 8.594 MB / 0.9356 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,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.0001435/1.009, allocations: 115.2 kB / 1.212 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001338/1.009, allocations: 35.92 kB / 1.212 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.009, allocations: 4 kB / 1.212 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.686e-05/1.009, allocations: 16 kB / 1.212 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000168/1.01, allocations: 8 kB / 1.212 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004332/1.01, allocations: 140.5 kB / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/1.01, allocations: 0.6807 MB / 1.213 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.517e-05/1.01, allocations: 4 kB / 1.213 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/1.01, allocations: 11.44 kB / 1.213 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of SimCode: time 2.71e-07/1.011, allocations: 4 kB / 1.213 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of Templates: time 0.003526/1.014, allocations: 0.5689 MB / 1.214 GB, free: 6.961 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches