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.0009098/0.0009099, allocations: 97.78 kB / 16.02 MB, free: 76 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.001131/0.001131, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.418/1.418, allocations: 223.3 MB / 241 MB, free: 5.312 MB / 190.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.577/2.577, allocations: 437.8 MB / 0.7128 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003892/0.0003897, allocations: 16 kB / 0.8735 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6294/0.6298, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002016/0.6318, allocations: 1.203 MB / 1.025 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009015/0.6328, allocations: 455 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.467e-05/0.6329, allocations: 0 / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.097e-05/0.6329, allocations: 3.938 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002893/0.6332, allocations: 19.91 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 9.299e-05/0.6333, allocations: 16 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.542e-05/0.6334, allocations: 51.72 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.6335, allocations: 8 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.6337, allocations: 23.91 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.925e-05/0.6338, allocations: 23.92 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.6338, allocations: 0 / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.429e-05/0.6338, allocations: 4 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.234e-05/0.6338, allocations: 11.92 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.708e-05/0.6339, allocations: 49.56 kB / 1.026 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.156e-05/0.634, allocations: 29.91 kB / 1.026 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.634, allocations: 0 / 1.026 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.524e-06/0.634, allocations: 0 / 1.026 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.634, allocations: 0 / 1.026 GB, free: 13.99 MB / 0.7794 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.0005391/0.6346, allocations: 355.3 kB / 1.026 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.6346, allocations: 8.031 kB / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.073e-05/0.6347, allocations: 8.938 kB / 1.026 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.6348, allocations: 176.2 kB / 1.026 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.6348, allocations: 384 / 1.026 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.6349, allocations: 4.375 kB / 1.026 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.635, allocations: 50 kB / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.635, allocations: 0 / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.635, allocations: 8 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.635, allocations: 3.984 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.991e-05/0.6351, allocations: 19.98 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/0.6355, allocations: 268.8 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.6356, allocations: 46.56 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.289e-05/0.6357, allocations: 20.86 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.826e-06/0.6357, allocations: 4 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.6358, allocations: 71.41 kB / 1.027 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.6359, allocations: 0 / 1.027 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0002169/0.6361, allocations: 77.59 kB / 1.027 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.6361, allocations: 51.41 kB / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.742e-05/0.6362, allocations: 113.8 kB / 1.027 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.6363, allocations: 25.7 kB / 1.027 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.91e-05/0.6363, allocations: 92.12 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.6363, allocations: 19.73 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.6364, allocations: 13.72 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.6365, allocations: 318.8 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.557e-05/0.6365, allocations: 15.98 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.61e-05/0.6366, allocations: 8 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.107e-05/0.6366, allocations: 36.8 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.6366, allocations: 0 / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001111/0.6368, allocations: 62 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.6368, allocations: 4 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.6368, allocations: 8 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.6368, allocations: 4.047 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.685e-05/0.6369, allocations: 12 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.6369, allocations: 4 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.169e-05/0.637, allocations: 3.938 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.637, allocations: 4 kB / 1.027 GB, free: 11.89 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 0.0001002/0.6371, allocations: 126.2 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.6371, allocations: 3.906 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.6372, allocations: 7.969 kB / 1.028 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.6372, allocations: 4 kB / 1.028 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.6372, allocations: 0 / 1.028 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.6372, allocations: 0 / 1.028 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.6373, allocations: 173.6 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.6373, allocations: 0 / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.886e-05/0.6374, allocations: 4 kB / 1.028 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.6374, allocations: 0 / 1.028 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.6374, allocations: 8 kB / 1.028 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.6374, allocations: 0 / 1.028 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.6374, allocations: 0 / 1.028 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.6376, allocations: 101 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.452e-05/0.6376, allocations: 81.02 kB / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.6377, allocations: 8 kB / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.62e-05/0.6377, allocations: 0 / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.6378, allocations: 7.984 kB / 1.028 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.6378, allocations: 4 kB / 1.028 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.524e-05/0.6379, allocations: 95.56 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6379, allocations: 0 / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001898/0.6381, allocations: 12 kB / 1.028 GB, free: 11.16 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.0001267/0.6382, allocations: 99.25 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001165/0.6383, allocations: 39.92 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.6383, allocations: 0 / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.466e-05/0.6384, allocations: 16.12 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.6385, allocations: 8 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000334/0.6389, allocations: 176.3 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.6391, allocations: 0.6865 MB / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.897e-05/0.6392, allocations: 11.44 kB / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.6392, allocations: 0 / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of Templates: time 0.002247/0.6414, allocations: 0.7268 MB / 1.03 GB, free: 9.348 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=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