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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001368/0.001368, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001571/0.001571, allocations: 195 kB / 16.14 MB, free: 6.648 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.537/1.537, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.467/2.467, allocations: 390.2 MB / 0.6642 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 59.91 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7745/0.7758, allocations: 140.4 MB / 0.9489 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003012/0.7789, allocations: 1.542 MB / 0.9504 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008224/0.7798, allocations: 470.9 kB / 0.9509 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.472e-05/0.7798, allocations: 5.188 kB / 0.9509 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.063e-05/0.7799, allocations: 0 / 0.9509 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.7802, allocations: 18.03 kB / 0.9509 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.088e-05/0.7803, allocations: 14.83 kB / 0.9509 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.537e-05/0.7804, allocations: 49.02 kB / 0.951 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.7805, allocations: 8.281 kB / 0.951 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.7806, allocations: 29.19 kB / 0.951 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.723e-05/0.7807, allocations: 23.91 kB / 0.951 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.7807, allocations: 1.312 kB / 0.951 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.866e-05/0.7808, allocations: 2.719 kB / 0.951 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.705e-05/0.7808, allocations: 9.188 kB / 0.951 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.024e-05/0.7809, allocations: 18.11 kB / 0.9511 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.781, allocations: 42.16 kB / 0.9511 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.781, allocations: 0 / 0.9511 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.034e-06/0.781, allocations: 0 / 0.9511 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.781, allocations: 4 kB / 0.9511 GB, free: 7.363 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.0005785/0.7816, allocations: 357.6 kB / 0.9514 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.7817, allocations: 10.03 kB / 0.9514 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.489e-05/0.7817, allocations: 6.5 kB / 0.9515 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.7818, allocations: 173 kB / 0.9516 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.7819, allocations: 1.469 kB / 0.9516 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.7819, allocations: 5.844 kB / 0.9516 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.782, allocations: 51.89 kB / 0.9517 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.782, allocations: 9.219 kB / 0.9517 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.7821, allocations: 4 kB / 0.9517 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.7821, allocations: 5.188 kB / 0.9517 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.064e-05/0.7822, allocations: 18.14 kB / 0.9517 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003892/0.7825, allocations: 267.8 kB / 0.952 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.7827, allocations: 42.38 kB / 0.952 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.336e-05/0.7827, allocations: 23.61 kB / 0.952 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.7827, allocations: 0 / 0.952 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001979/0.7829, allocations: 67.67 kB / 0.9521 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.7829, allocations: 0 / 0.9521 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0002513/0.7832, allocations: 83.92 kB / 0.9522 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.7832, allocations: 51.41 kB / 0.9522 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.995e-05/0.7833, allocations: 113 kB / 0.9523 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.7834, allocations: 27.11 kB / 0.9524 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.888e-05/0.7834, allocations: 93.48 kB / 0.9524 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.7834, allocations: 17.39 kB / 0.9525 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.7835, allocations: 21.45 kB / 0.9525 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.244e-05/0.7836, allocations: 320.2 kB / 0.9528 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.461e-05/0.7836, allocations: 15.42 kB / 0.9528 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.639e-05/0.7836, allocations: 9.844 kB / 0.9528 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.833e-05/0.7837, allocations: 32.14 kB / 0.9528 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.7837, allocations: 0 / 0.9528 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001021/0.7838, allocations: 66.97 kB / 0.9529 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.7838, allocations: 5.125 kB / 0.9529 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.7838, allocations: 0 / 0.9529 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.7839, allocations: 0 / 0.9529 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.869e-05/0.7839, allocations: 15.45 kB / 0.9529 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.784, allocations: 0 / 0.9529 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.451e-05/0.784, allocations: 10.88 kB / 0.9529 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.784, allocations: 1.562 kB / 0.9529 GB, free: 5.477 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 7.129e-05/0.7841, allocations: 116.6 kB / 0.953 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.7841, allocations: 6.469 kB / 0.9531 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.007e-05/0.7842, allocations: 13.08 kB / 0.9531 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.7842, allocations: 0 / 0.9531 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.7842, allocations: 1.188 kB / 0.9531 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.7842, allocations: 0 / 0.9531 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.7843, allocations: 174.7 kB / 0.9532 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.7843, allocations: 0 / 0.9532 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.791e-05/0.7844, allocations: 8.484 kB / 0.9532 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.7844, allocations: 1.438 kB / 0.9532 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.7844, allocations: 0 / 0.9532 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.7844, allocations: 9.25 kB / 0.9533 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.7844, allocations: 0 / 0.9533 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.7845, allocations: 101.1 kB / 0.9533 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.181e-05/0.7846, allocations: 83.75 kB / 0.9534 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.7846, allocations: 0 / 0.9534 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.859e-05/0.7847, allocations: 2.781 kB / 0.9534 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.7847, allocations: 14.77 kB / 0.9534 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.7847, allocations: 1.375 kB / 0.9534 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.924e-05/0.7848, allocations: 90.16 kB / 0.9535 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7848, allocations: 1.375 kB / 0.9535 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001984/0.785, allocations: 8.5 kB / 0.9535 GB, free: 4.828 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 0.0001532/0.7852, allocations: 102.2 kB / 0.9536 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001397/0.7853, allocations: 43.7 kB / 0.9537 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.7853, allocations: 1.219 kB / 0.9537 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.964e-05/0.7854, allocations: 14.81 kB / 0.9537 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.7855, allocations: 7.812 kB / 0.9537 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003153/0.7859, allocations: 153.4 kB / 0.9538 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.786, allocations: 0.6806 MB / 0.9545 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.777e-05/0.786, allocations: 2.531 kB / 0.9545 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.806e-05/0.7861, allocations: 13.95 kB / 0.9545 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.7861, allocations: 4 kB / 0.9545 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of Templates: time 0.002608/0.7887, allocations: 0.5015 MB / 0.955 GB, free: 3.59 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