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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.001644/0.001644, allocations: 100.1 kB / 15.88 MB, free: 12 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.001869/0.001869, allocations: 200.6 kB / 16.79 MB, free: 6.809 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.404/1.404, allocations: 222.9 MB / 240.5 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.758/2.758, allocations: 461.8 MB / 0.7348 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 67.42 kB / 0.899 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.331, allocations: 157.4 MB / 1.053 GB, free: 8.375 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003164/0.3342, allocations: 1.541 MB / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008468/0.3351, allocations: 466.7 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.577e-05/0.3352, allocations: 0 / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.988e-05/0.3352, allocations: 3.938 kB / 1.055 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002683/0.3355, allocations: 19.91 kB / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.041e-05/0.3356, allocations: 19.98 kB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.904e-05/0.3357, allocations: 51.72 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.3358, allocations: 15.98 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.336, allocations: 19.94 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.37e-05/0.3361, allocations: 23.91 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.3361, allocations: 0 / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.521e-05/0.3361, allocations: 4 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.261e-05/0.3361, allocations: 7.922 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.703e-05/0.3362, allocations: 23.86 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.18e-05/0.3363, allocations: 32.17 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3363, allocations: 4 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.72e-07/0.3363, allocations: 0 / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.3363, allocations: 0 / 1.055 GB, free: 6.137 MB / 0.8106 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.0006392/0.337, allocations: 347.4 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.337, allocations: 19.95 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.539e-05/0.3371, allocations: 4.844 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.3372, allocations: 168.4 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.3373, allocations: 4.375 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.3373, allocations: 384 / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.3374, allocations: 61.98 kB / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3374, allocations: 3.984 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.3375, allocations: 0 / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3375, allocations: 0 / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.8e-05/0.3375, allocations: 23.92 kB / 1.056 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000415/0.338, allocations: 268.9 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.3381, allocations: 46.56 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.571e-05/0.3381, allocations: 24.94 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.3381, allocations: 0 / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002104/0.3384, allocations: 75.23 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.3384, allocations: 3.938 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0002404/0.3386, allocations: 81.67 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.3387, allocations: 51.41 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.3388, allocations: 113.8 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.3388, allocations: 29.7 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/0.3389, allocations: 84.08 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.3389, allocations: 15.81 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/0.339, allocations: 25.64 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3391, allocations: 314.8 kB / 1.057 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.382e-05/0.3391, allocations: 15.94 kB / 1.057 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.843e-05/0.3392, allocations: 11.98 kB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.318e-05/0.3392, allocations: 36.86 kB / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3393, allocations: 0 / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001088/0.3394, allocations: 65.59 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.3394, allocations: 8 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3394, allocations: 0 / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.3394, allocations: 0 / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.009e-05/0.3395, allocations: 11.92 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.3395, allocations: 4 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.151e-05/0.3396, allocations: 0 / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.3396, allocations: 4 kB / 1.057 GB, free: 4.023 MB / 0.8106 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.094e-05/0.3397, allocations: 117.8 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.3397, allocations: 4 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.473e-05/0.3397, allocations: 7.953 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3398, allocations: 0 / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3398, allocations: 448 / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3398, allocations: 4 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.3399, allocations: 169.6 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.3399, allocations: 4 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.154e-05/0.34, allocations: 8 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.34, allocations: 4 kB / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.34, allocations: 3.984 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.34, allocations: 4 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.34, allocations: 0 / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.3402, allocations: 96.91 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.479e-05/0.3402, allocations: 85.09 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.3402, allocations: 0 / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.808e-05/0.3403, allocations: 4 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.3404, allocations: 11.98 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.3404, allocations: 0 / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.64e-05/0.3404, allocations: 87.28 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3404, allocations: 0 / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001984/0.3406, allocations: 19.88 kB / 1.057 GB, free: 3.309 MB / 0.8106 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.0001412/0.3408, allocations: 103.2 kB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001317/0.3409, allocations: 35.88 kB / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.3409, allocations: 3.938 kB / 1.057 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.124e-05/0.341, allocations: 27.98 kB / 1.058 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.3412, allocations: 7.984 kB / 1.058 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003678/0.3415, allocations: 177.4 kB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.3418, allocations: 0.6809 MB / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.269e-05/0.3419, allocations: 7.438 kB / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of SimCode: time 4.21e-07/0.3419, allocations: 4 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of Templates: time 0.00229/0.3442, allocations: 0.7307 MB / 1.059 GB, free: 1.477 MB / 0.8106 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/jenkins1/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