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.001929/0.001929, allocations: 108 kB / 15.61 MB, free: 152 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.002272/0.002272, allocations: 196.2 kB / 16.53 MB, free: 6.699 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.547/1.547, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.796/2.796, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 71.88 kB / 0.8692 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7249/0.7269, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003273/0.7302, allocations: 1.477 MB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008574/0.7311, allocations: 462.8 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.821e-05/0.7311, allocations: 0 / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.867e-05/0.7312, allocations: 3.938 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002543/0.7314, allocations: 35.83 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 8.723e-05/0.7315, allocations: 15.92 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.7316, allocations: 55.72 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.7318, allocations: 15.98 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.739e-05/0.7319, allocations: 19.88 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.856e-05/0.732, allocations: 23.91 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.732, allocations: 4 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.457e-05/0.732, allocations: 4 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.98e-05/0.732, allocations: 11.98 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.504e-05/0.7321, allocations: 23.86 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.77e-05/0.7322, allocations: 41.86 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.7322, allocations: 0 / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7322, allocations: 0 / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.7322, allocations: 4 kB / 1.019 GB, free: 316 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.0006471/0.7329, allocations: 359.3 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.7329, allocations: 8.031 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.733, allocations: 4.938 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.7332, allocations: 188.2 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.7332, allocations: 384 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.7332, allocations: 4.375 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.7334, allocations: 53.94 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.7334, allocations: 4 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.7334, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.7334, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.379e-05/0.7335, allocations: 23.98 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.7339, allocations: 264.9 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.734, allocations: 50.5 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.076e-05/0.7341, allocations: 20.86 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.7341, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001974/0.7343, allocations: 67.48 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.7343, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0002518/0.7345, allocations: 85.52 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.7346, allocations: 51.41 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.7347, allocations: 113.8 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.7348, allocations: 25.7 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.431e-05/0.7348, allocations: 88.14 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.7349, allocations: 19.73 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.7349, allocations: 17.72 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.7351, allocations: 318.8 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.266e-05/0.7351, allocations: 15.94 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.698e-05/0.7351, allocations: 12.38 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.406e-05/0.7352, allocations: 36.84 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7352, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000115/0.7353, allocations: 73.58 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.7353, allocations: 7.984 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.7354, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.7354, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.096e-05/0.7354, allocations: 8 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.7355, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.08e-05/0.7355, allocations: 7.906 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-06/0.7355, allocations: 0 / 1.021 GB, free: 14.19 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.569e-05/0.7356, allocations: 121.8 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.7357, allocations: 4 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.659e-05/0.7357, allocations: 11.97 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.7357, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.7357, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.7357, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.7359, allocations: 173.6 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.7359, allocations: 0 / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.889e-05/0.7359, allocations: 7.938 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.7359, allocations: 4 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.7359, allocations: 3.984 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.7359, allocations: 0 / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7359, allocations: 4 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.7361, allocations: 105 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.077e-05/0.7362, allocations: 81.11 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.7362, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.465e-05/0.7362, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.7363, allocations: 7.984 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.7363, allocations: 0 / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.898e-05/0.7364, allocations: 95.27 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7364, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000187/0.7366, allocations: 16 kB / 1.022 GB, free: 13.47 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.0001351/0.7367, allocations: 101.1 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001481/0.7369, allocations: 43.92 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.7369, allocations: 3.938 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.233e-05/0.7369, allocations: 12 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.7371, allocations: 9.109 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000354/0.7374, allocations: 150 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.7378, allocations: 0.6807 MB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.51e-05/0.7378, allocations: 3.984 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.574e-05/0.7379, allocations: 11.44 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7379, allocations: 0 / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of Templates: time 0.003085/0.741, allocations: 0.5443 MB / 1.023 GB, free: 11.87 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