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.001482/0.001482, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001515/0.001515, allocations: 192 kB / 16.25 MB, free: 6.621 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.525/1.525, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.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.827/2.827, allocations: 437 MB / 0.7101 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 63.91 kB / 0.8687 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8081/0.8101, allocations: 151.6 MB / 1.017 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.00309/0.8132, allocations: 1.538 MB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008239/0.8141, allocations: 470.8 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.945e-05/0.8141, allocations: 0 / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.602e-05/0.8142, allocations: 0 / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002549/0.8145, allocations: 27.84 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 8.271e-05/0.8145, allocations: 15.98 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.085e-05/0.8146, allocations: 51.8 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.574e-05/0.8147, allocations: 4 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.8148, allocations: 27.86 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.087e-05/0.8149, allocations: 27.91 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.815, allocations: 4 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.332e-05/0.815, allocations: 4 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.344e-05/0.815, allocations: 7.984 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.814e-05/0.8151, allocations: 23.86 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.71e-05/0.8152, allocations: 41.84 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.8152, allocations: 0 / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.973e-06/0.8152, allocations: 0 / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.8152, allocations: 0 / 1.019 GB, free: 444 kB / 0.7637 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.0006337/0.8158, allocations: 363.3 kB / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.8159, allocations: 8.031 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.8159, allocations: 4.922 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.8161, allocations: 172.2 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.8161, allocations: 16.3 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-06/0.8161, allocations: 384 / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.8163, allocations: 53.98 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.8163, allocations: 3.938 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.8163, allocations: 4 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.8163, allocations: 4 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.396e-05/0.8164, allocations: 19.98 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003997/0.8168, allocations: 264.9 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.8169, allocations: 46.5 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.282e-05/0.817, allocations: 20.94 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.817, allocations: 0 / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.8172, allocations: 67.39 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.8172, allocations: 0 / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0002373/0.8174, allocations: 89.7 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.8175, allocations: 51.41 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.8176, allocations: 114.1 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.8176, allocations: 25.7 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.631e-05/0.8176, allocations: 84.14 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.8177, allocations: 23.73 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.8177, allocations: 21.7 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.8179, allocations: 318.8 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.717e-05/0.8179, allocations: 16.06 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.818e-05/0.818, allocations: 19.92 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.403e-05/0.818, allocations: 24.86 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.818, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001058/0.8181, allocations: 65.62 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.8182, allocations: 12 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.8182, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.8182, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.691e-05/0.8182, allocations: 11.98 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.8183, allocations: 4.062 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.877e-05/0.8183, allocations: 7.906 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.8183, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 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.509e-05/0.8184, allocations: 109.8 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.8185, allocations: 4 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.546e-05/0.8185, allocations: 15.95 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.8185, allocations: 4 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.8185, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.8185, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.8187, allocations: 169.6 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.8187, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.769e-05/0.8187, allocations: 7.938 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.8187, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.8187, allocations: 7.984 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.8187, allocations: 4.125 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.8187, allocations: 4 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.8189, allocations: 101 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.692e-05/0.819, allocations: 77.11 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.819, allocations: 7.984 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.746e-05/0.819, allocations: 4 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.8191, allocations: 4 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.8191, allocations: 7.969 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.679e-05/0.8192, allocations: 87.28 kB / 1.021 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8192, allocations: 4 kB / 1.021 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001804/0.8193, allocations: 8 kB / 1.021 GB, free: 13.59 MB / 0.7794 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.0001296/0.8195, allocations: 111.7 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001174/0.8196, allocations: 31.94 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.8196, allocations: 0 / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.638e-05/0.8197, allocations: 27.86 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.8198, allocations: 8.75 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003778/0.8202, allocations: 146.1 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.8206, allocations: 0.6807 MB / 1.022 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.804e-05/0.8207, allocations: 4 kB / 1.022 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/0.8207, allocations: 7.438 kB / 1.022 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.8207, allocations: 0 / 1.022 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of Templates: time 0.003216/0.8239, allocations: 0.5325 MB / 1.023 GB, free: 12 MB / 0.7794 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=400 -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/jenkins/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