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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001378/0.001378, allocations: 104.8 kB / 16.36 MB, free: 5.875 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.001364/0.001364, allocations: 199.2 kB / 17.3 MB, free: 5.516 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.584/2.584, allocations: 437.1 MB / 0.7112 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 65.17 kB / 0.8707 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3025, allocations: 151.6 MB / 1.019 GB, free: 9.828 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003011/0.3056, allocations: 1.476 MB / 1.02 GB, free: 8.336 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008639/0.3065, allocations: 472.2 kB / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.827e-05/0.3066, allocations: 0 / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.616e-05/0.3066, allocations: 15.86 kB / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002697/0.3069, allocations: 23.84 kB / 1.021 GB, free: 7.832 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 9.587e-05/0.307, allocations: 19.92 kB / 1.021 GB, free: 7.812 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.3072, allocations: 47.8 kB / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.3073, allocations: 8 kB / 1.021 GB, free: 7.758 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.3074, allocations: 31.84 kB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.007e-05/0.3075, allocations: 23.91 kB / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.3076, allocations: 8 kB / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.662e-05/0.3076, allocations: 4 kB / 1.021 GB, free: 7.691 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.655e-05/0.3076, allocations: 4 kB / 1.021 GB, free: 7.688 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.293e-05/0.3077, allocations: 27.86 kB / 1.021 GB, free: 7.66 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.3078, allocations: 39.81 kB / 1.021 GB, free: 7.621 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3078, allocations: 4 kB / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3078, allocations: 0 / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.3078, allocations: 0 / 1.021 GB, free: 7.617 MB / 0.795 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.000653/0.3085, allocations: 353.8 kB / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.3085, allocations: 8.922 kB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.3086, allocations: 8.844 kB / 1.021 GB, free: 7.211 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.3087, allocations: 172.4 kB / 1.021 GB, free: 7.004 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.3087, allocations: 384 / 1.021 GB, free: 7.004 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.3088, allocations: 4.375 kB / 1.021 GB, free: 7 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.3089, allocations: 57.92 kB / 1.021 GB, free: 6.938 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3089, allocations: 4 kB / 1.021 GB, free: 6.934 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.3089, allocations: 0 / 1.021 GB, free: 6.934 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.3089, allocations: 0 / 1.021 GB, free: 6.934 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.386e-05/0.309, allocations: 19.98 kB / 1.022 GB, free: 6.914 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.3094, allocations: 268.9 kB / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.3095, allocations: 50.5 kB / 1.022 GB, free: 6.543 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.508e-05/0.3096, allocations: 24.84 kB / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.3096, allocations: 0 / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.3098, allocations: 71.39 kB / 1.022 GB, free: 6.434 MB / 0.795 GB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.3098, allocations: 0 / 1.022 GB, free: 6.434 MB / 0.795 GB Notification: Performance of matching and sorting (n=5): time 0.0002459/0.31, allocations: 85.61 kB / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.017e-05/0.3101, allocations: 55.41 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.838e-05/0.3102, allocations: 113.8 kB / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.3102, allocations: 25.7 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.683e-05/0.3103, allocations: 92.02 kB / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.3103, allocations: 15.8 kB / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.3103, allocations: 17.72 kB / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.957e-05/0.3104, allocations: 322.8 kB / 1.023 GB, free: 5.668 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.356e-05/0.3105, allocations: 15.92 kB / 1.023 GB, free: 5.652 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.585e-05/0.3105, allocations: 12 kB / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.016e-05/0.3106, allocations: 32.86 kB / 1.023 GB, free: 5.605 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3106, allocations: 0 / 1.023 GB, free: 5.605 MB / 0.795 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001099/0.3107, allocations: 69.53 kB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3107, allocations: 4 kB / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3107, allocations: 0 / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3108, allocations: 4 kB / 1.023 GB, free: 5.523 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.691e-05/0.3108, allocations: 11.98 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3108, allocations: 0 / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.187e-05/0.3109, allocations: 4 kB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.3109, allocations: 0 / 1.023 GB, free: 5.508 MB / 0.795 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 0.0001371/0.3111, allocations: 117.8 kB / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.498e-05/0.3111, allocations: 7.984 kB / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.477e-05/0.3111, allocations: 7.969 kB / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.3111, allocations: 0 / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3111, allocations: 0 / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3112, allocations: 4 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.3113, allocations: 173.6 kB / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3113, allocations: 4.422 kB / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.304e-05/0.3113, allocations: 4 kB / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3113, allocations: 3.938 kB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.3113, allocations: 4 kB / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3114, allocations: 0 / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3114, allocations: 0 / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.3115, allocations: 109 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.3116, allocations: 77.11 kB / 1.023 GB, free: 4.91 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.3116, allocations: 0 / 1.023 GB, free: 4.91 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.081e-05/0.3116, allocations: 4 kB / 1.023 GB, free: 4.906 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.3117, allocations: 3.984 kB / 1.023 GB, free: 4.902 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.3117, allocations: 4 kB / 1.023 GB, free: 4.898 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.208e-05/0.3118, allocations: 91.27 kB / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3118, allocations: 3.938 kB / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001947/0.312, allocations: 15.94 kB / 1.023 GB, free: 4.789 MB / 0.795 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.0001268/0.3121, allocations: 103.2 kB / 1.023 GB, free: 4.676 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.3122, allocations: 43.86 kB / 1.024 GB, free: 4.633 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3122, allocations: 0 / 1.024 GB, free: 4.633 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.694e-05/0.3123, allocations: 16 kB / 1.024 GB, free: 4.617 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.3124, allocations: 4 kB / 1.024 GB, free: 4.617 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003522/0.3128, allocations: 146 kB / 1.024 GB, free: 4.449 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004574/0.3133, allocations: 0.6846 MB / 1.024 GB, free: 3.738 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.794e-05/0.3133, allocations: 7.938 kB / 1.024 GB, free: 3.73 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.062e-05/0.3133, allocations: 11.42 kB / 1.024 GB, free: 3.719 MB / 0.795 GB Notification: Performance of SimCode: time 2.21e-07/0.3134, allocations: 0 / 1.024 GB, free: 3.719 MB / 0.795 GB Notification: Performance of Templates: time 0.002993/0.3163, allocations: 0.5449 MB / 1.025 GB, free: 3.184 MB / 0.795 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 -s gbode -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