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.001135/0.001135, allocations: 92.39 kB / 16.02 MB, free: 80 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.001641/0.001641, allocations: 178.2 kB / 16.92 MB, free: 6.652 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.429/1.429, allocations: 223.3 MB / 241 MB, free: 5.258 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.497/2.497, allocations: 390.9 MB / 0.667 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003602/0.0003604, allocations: 8 kB / 0.8166 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.766/0.7664, allocations: 142.4 MB / 0.9557 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001498/0.768, allocations: 1.206 MB / 0.9569 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006661/0.7686, allocations: 460.6 kB / 0.9573 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.566e-05/0.7687, allocations: 0 / 0.9573 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.891e-05/0.7687, allocations: 1.031 kB / 0.9573 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.769, allocations: 16.81 kB / 0.9573 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.777e-05/0.769, allocations: 14.83 kB / 0.9574 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.507e-05/0.7691, allocations: 49.8 kB / 0.9574 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.049e-05/0.7692, allocations: 3.25 kB / 0.9574 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.665e-05/0.7693, allocations: 30.05 kB / 0.9574 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.276e-05/0.7694, allocations: 23.09 kB / 0.9575 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.7694, allocations: 2.25 kB / 0.9575 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.129e-05/0.7694, allocations: 1.219 kB / 0.9575 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.983e-05/0.7695, allocations: 14.14 kB / 0.9575 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.157e-05/0.7695, allocations: 44.41 kB / 0.9575 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.42e-05/0.7696, allocations: 25.8 kB / 0.9575 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.7696, allocations: 0 / 0.9575 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7696, allocations: 0 / 0.9575 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.7696, allocations: 0 / 0.9575 GB, free: 6.262 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.0004327/0.7701, allocations: 349.4 kB / 0.9579 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.7701, allocations: 8.75 kB / 0.9579 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.7701, allocations: 11.09 kB / 0.9579 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.419e-05/0.7702, allocations: 180.7 kB / 0.9581 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.7703, allocations: 1.469 kB / 0.9581 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.7703, allocations: 6.562 kB / 0.9581 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.7704, allocations: 48.28 kB / 0.9581 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.7704, allocations: 3.984 kB / 0.9581 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.7704, allocations: 9.062 kB / 0.9581 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.7704, allocations: 0 / 0.9581 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.664e-05/0.7705, allocations: 21.98 kB / 0.9582 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002943/0.7708, allocations: 268.4 kB / 0.9584 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.261e-05/0.7709, allocations: 46.91 kB / 0.9585 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.896e-05/0.7709, allocations: 22.22 kB / 0.9585 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.771, allocations: 9.375 kB / 0.9585 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001472/0.7711, allocations: 66.73 kB / 0.9586 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.7711, allocations: 0 / 0.9586 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.000196/0.7713, allocations: 72.12 kB / 0.9586 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/0.7714, allocations: 52.38 kB / 0.9587 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.099e-05/0.7714, allocations: 111.9 kB / 0.9588 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.7715, allocations: 30.64 kB / 0.9588 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.888e-05/0.7715, allocations: 98.38 kB / 0.9589 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.7715, allocations: 14.12 kB / 0.9589 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.069e-05/0.7716, allocations: 14.81 kB / 0.9589 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.321e-05/0.7716, allocations: 319.8 kB / 0.9592 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.982e-05/0.7716, allocations: 10.75 kB / 0.9592 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.278e-05/0.7717, allocations: 10.84 kB / 0.9593 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.293e-05/0.7717, allocations: 34.78 kB / 0.9593 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.7717, allocations: 0 / 0.9593 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.493e-05/0.7718, allocations: 59.86 kB / 0.9593 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.7718, allocations: 14.36 kB / 0.9594 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.7719, allocations: 0 / 0.9594 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.7719, allocations: 1.188 kB / 0.9594 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.882e-05/0.7719, allocations: 11.03 kB / 0.9594 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.772, allocations: 4 kB / 0.9594 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.964e-05/0.772, allocations: 3.906 kB / 0.9594 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.772, allocations: 1.25 kB / 0.9594 GB, free: 4.383 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 (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 5.704e-05/0.7721, allocations: 124.1 kB / 0.9595 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/0.7721, allocations: 10.69 kB / 0.9595 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.263e-05/0.7722, allocations: 9.688 kB / 0.9595 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.7722, allocations: 0 / 0.9595 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.7722, allocations: 0 / 0.9595 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.7722, allocations: 1.469 kB / 0.9595 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.437e-05/0.7723, allocations: 178 kB / 0.9597 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.7723, allocations: 1.469 kB / 0.9597 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.583e-05/0.7723, allocations: 2.969 kB / 0.9597 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.7723, allocations: 1.469 kB / 0.9597 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.7723, allocations: 0 / 0.9597 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.7723, allocations: 1.656 kB / 0.9597 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.7723, allocations: 4 kB / 0.9597 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.7724, allocations: 98.55 kB / 0.9598 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.16e-05/0.7725, allocations: 85.02 kB / 0.9599 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.7725, allocations: 1.969 kB / 0.9599 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.884e-05/0.7726, allocations: 7.656 kB / 0.9599 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.7726, allocations: 6.109 kB / 0.9599 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.7726, allocations: 1.938 kB / 0.9599 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.538e-05/0.7727, allocations: 93.11 kB / 0.96 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7727, allocations: 1.594 kB / 0.96 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001864/0.7729, allocations: 12.56 kB / 0.96 GB, free: 3.727 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.588e-05/0.773, allocations: 97.72 kB / 0.9601 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.7731, allocations: 40.86 kB / 0.9601 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7731, allocations: 0 / 0.9601 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.044e-05/0.7731, allocations: 18.31 kB / 0.9601 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.7733, allocations: 2.625 kB / 0.9601 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002871/0.7736, allocations: 185.9 kB / 0.9603 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.7737, allocations: 0.6804 MB / 0.961 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.788e-05/0.7737, allocations: 10.47 kB / 0.961 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.7737, allocations: 0 / 0.961 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of Templates: time 0.001821/0.7756, allocations: 0.7328 MB / 0.9617 GB, free: 2.348 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/jenkins1/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