Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.0008626/0.0008626, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008869/0.0008869, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.57/2.57, allocations: 390.9 MB / 0.666 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003388, allocations: 8 kB / 0.8154 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8832/0.8835, allocations: 142.4 MB / 0.9544 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001421/0.885, allocations: 1.185 MB / 0.9556 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006852/0.8857, allocations: 437.7 kB / 0.956 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.608e-05/0.8858, allocations: 8.812 kB / 0.956 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.584e-05/0.8858, allocations: 0 / 0.956 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002461/0.8861, allocations: 21.67 kB / 0.956 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.826e-05/0.8861, allocations: 14.97 kB / 0.9561 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.592e-05/0.8862, allocations: 50.55 kB / 0.9561 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.721e-05/0.8863, allocations: 6.359 kB / 0.9561 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.845e-05/0.8864, allocations: 18.28 kB / 0.9561 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.835e-05/0.8865, allocations: 23.17 kB / 0.9562 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.8865, allocations: 5.812 kB / 0.9562 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.192e-05/0.8866, allocations: 2.094 kB / 0.9562 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.8866, allocations: 9.031 kB / 0.9562 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.835e-05/0.8866, allocations: 30.52 kB / 0.9562 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.837e-05/0.8867, allocations: 33.31 kB / 0.9562 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.8867, allocations: 0 / 0.9562 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8867, allocations: 0.9062 kB / 0.9562 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.8867, allocations: 0 / 0.9562 GB, free: 6.281 MB / 0.7169 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.0004693/0.8872, allocations: 348.8 kB / 0.9566 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.8872, allocations: 9.594 kB / 0.9566 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.8873, allocations: 9.359 kB / 0.9566 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.8874, allocations: 179.1 kB / 0.9568 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.8874, allocations: 2.156 kB / 0.9568 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.8875, allocations: 2.344 kB / 0.9568 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.8876, allocations: 47.41 kB / 0.9568 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.8876, allocations: 0 / 0.9568 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.8876, allocations: 0 / 0.9568 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.8876, allocations: 5.281 kB / 0.9568 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.083e-05/0.8877, allocations: 22 kB / 0.9568 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.888, allocations: 279.9 kB / 0.9571 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.852e-05/0.8881, allocations: 42.62 kB / 0.9571 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.212e-05/0.8882, allocations: 25.86 kB / 0.9572 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.8882, allocations: 1.062 kB / 0.9572 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.8884, allocations: 63.42 kB / 0.9572 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.8884, allocations: 0 / 0.9572 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0002248/0.8886, allocations: 91.03 kB / 0.9573 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.8887, allocations: 52.66 kB / 0.9574 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.864e-05/0.8888, allocations: 107.9 kB / 0.9575 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.8888, allocations: 26.64 kB / 0.9575 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.524e-05/0.8888, allocations: 86.02 kB / 0.9576 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.8889, allocations: 26.08 kB / 0.9576 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-06/0.8889, allocations: 3.938 kB / 0.9576 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.964e-05/0.8889, allocations: 312.1 kB / 0.9579 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.025e-05/0.889, allocations: 15.02 kB / 0.9579 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.331e-05/0.889, allocations: 13.81 kB / 0.9579 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.271e-05/0.889, allocations: 15.31 kB / 0.9579 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.889, allocations: 0 / 0.9579 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.943e-05/0.8891, allocations: 70.44 kB / 0.958 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.8892, allocations: 5.469 kB / 0.958 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.8892, allocations: 4 kB / 0.958 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.8892, allocations: 4.953 kB / 0.958 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.576e-05/0.8893, allocations: 5.969 kB / 0.958 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.8893, allocations: 1.375 kB / 0.958 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.691e-05/0.8894, allocations: 6.797 kB / 0.958 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.8894, allocations: 1.25 kB / 0.958 GB, free: 4.426 MB / 0.7169 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 ($whenCondition1,$PRE.locTim.tNext,locTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.571e-05/0.8894, allocations: 113.5 kB / 0.9581 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.8895, allocations: 2.656 kB / 0.9581 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.26e-05/0.8895, allocations: 3.969 kB / 0.9581 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.8895, allocations: 9.203 kB / 0.9582 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.8895, allocations: 3.984 kB / 0.9582 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.8895, allocations: 0.9688 kB / 0.9582 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.581e-05/0.8896, allocations: 170.2 kB / 0.9583 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.8896, allocations: 1.469 kB / 0.9583 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.729e-05/0.8897, allocations: 8.094 kB / 0.9583 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.8897, allocations: 0 / 0.9583 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.8897, allocations: 9.297 kB / 0.9583 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.8897, allocations: 0 / 0.9583 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.8897, allocations: 3.953 kB / 0.9583 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.8898, allocations: 90.31 kB / 0.9584 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.714e-05/0.8898, allocations: 82.64 kB / 0.9585 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.8899, allocations: 8.953 kB / 0.9585 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.456e-05/0.8899, allocations: 7.156 kB / 0.9585 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.89, allocations: 6.344 kB / 0.9585 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.89, allocations: 10.31 kB / 0.9585 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.564e-05/0.89, allocations: 86.66 kB / 0.9586 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.89, allocations: 4 kB / 0.9586 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001822/0.8902, allocations: 8.375 kB / 0.9586 GB, free: 3.781 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001225/0.8904, allocations: 114.2 kB / 0.9587 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001079/0.8905, allocations: 31.58 kB / 0.9588 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.8905, allocations: 1.281 kB / 0.9588 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.486e-05/0.8905, allocations: 17.83 kB / 0.9588 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.8907, allocations: 6.781 kB / 0.9588 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003052/0.891, allocations: 146.5 kB / 0.9589 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.8911, allocations: 0.6826 MB / 0.9596 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.905e-05/0.8912, allocations: 9.953 kB / 0.9596 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.8912, allocations: 9.25 kB / 0.9596 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8912, allocations: 0 / 0.9596 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of Templates: time 0.003277/0.8945, allocations: 496.1 kB / 0.9601 GB, free: 2.551 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches