Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_10_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_10_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.001346/0.001346, allocations: 110.4 kB / 16.42 MB, free: 6.512 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.00133/0.00133, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.562/2.562, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 63.91 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7738/0.7753, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002405/0.7777, allocations: 1.482 MB / 1.169 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000739/0.7785, allocations: 474.8 kB / 1.169 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.149e-05/0.7785, allocations: 0 / 1.169 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.991e-05/0.7786, allocations: 0 / 1.169 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.7788, allocations: 43.78 kB / 1.169 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 6.551e-05/0.7789, allocations: 7.984 kB / 1.169 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.239e-05/0.779, allocations: 55.8 kB / 1.169 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.242e-05/0.7791, allocations: 7.984 kB / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.035e-05/0.7791, allocations: 23.91 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.557e-05/0.7792, allocations: 19.92 kB / 1.169 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.7793, allocations: 4 kB / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.557e-05/0.7793, allocations: 4 kB / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.194e-05/0.7793, allocations: 11.92 kB / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.218e-05/0.7793, allocations: 23.94 kB / 1.169 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.7795, allocations: 59.39 kB / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.7795, allocations: 0 / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7795, allocations: 0 / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.7795, allocations: 0 / 1.169 GB, free: 1.656 MB / 0.8887 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.0005134/0.78, allocations: 345.4 kB / 1.17 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.78, allocations: 12.62 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.7801, allocations: 4.844 kB / 1.17 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.7802, allocations: 176.3 kB / 1.17 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.7802, allocations: 4.375 kB / 1.17 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.7803, allocations: 384 / 1.17 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.7804, allocations: 54 kB / 1.17 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.7804, allocations: 3.984 kB / 1.17 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.7804, allocations: 0 / 1.17 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.7804, allocations: 0 / 1.17 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.913e-05/0.7805, allocations: 23.92 kB / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.7808, allocations: 272.8 kB / 1.17 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.478e-05/0.781, allocations: 46.56 kB / 1.17 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.555e-05/0.781, allocations: 28.88 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.834e-06/0.781, allocations: 0 / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000155/0.7812, allocations: 71.31 kB / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=5): time 1.442e-06/0.7812, allocations: 0 / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of matching and sorting (n=5): time 0.0002074/0.7814, allocations: 73.69 kB / 1.171 GB, free: 404 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.7815, allocations: 59.41 kB / 1.171 GB, free: 332 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.215e-05/0.7815, allocations: 109.8 kB / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.7816, allocations: 25.7 kB / 1.171 GB, free: 180 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.506e-05/0.7816, allocations: 96.03 kB / 1.171 GB, free: 80 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.7816, allocations: 7.844 kB / 1.171 GB, free: 72 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.7817, allocations: 17.72 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.7818, allocations: 326.8 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.993e-05/0.7819, allocations: 8 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.658e-05/0.7819, allocations: 19.94 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.955e-05/0.782, allocations: 32.84 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.782, allocations: 384 / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001099/0.7821, allocations: 69.59 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.7821, allocations: 7.938 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.7821, allocations: 0 / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.7821, allocations: 4 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.005e-05/0.7822, allocations: 4 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.7822, allocations: 320 / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.83e-05/0.7823, allocations: 15.92 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.7823, allocations: 0 / 1.171 GB, free: 15.55 MB / 0.9044 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 7.712e-05/0.7824, allocations: 121.8 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.52e-05/0.7824, allocations: 7.906 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.251e-05/0.7824, allocations: 7.969 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.7824, allocations: 0 / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7825, allocations: 0 / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.7825, allocations: 85.09 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.7825, allocations: 0 / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.064e-05/0.7826, allocations: 7.938 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.7826, allocations: 11.98 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000146/0.7828, allocations: 141 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001686/0.783, allocations: 242.7 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.399e-05/0.783, allocations: 19.98 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.207e-05/0.7831, allocations: 87.28 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of Backend: time 2.81e-07/0.7831, allocations: 0 / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003641/0.7835, allocations: 107.7 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004503/0.7839, allocations: 0.5693 MB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of Templates: time 0.00271/0.7866, allocations: 0.6277 MB / 1.173 GB, free: 13.44 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches