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.001699/0.0017, allocations: 109.3 kB / 16.41 MB, free: 6.496 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.001967/0.001967, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.414/1.414, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.285/2.285, allocations: 390.2 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.89 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7914/0.7927, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002569/0.7953, allocations: 1.483 MB / 1.09 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007915/0.7961, allocations: 474.8 kB / 1.091 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.399e-05/0.7962, allocations: 1.062 kB / 1.091 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.799e-05/0.7962, allocations: 5.062 kB / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002626/0.7965, allocations: 28.88 kB / 1.091 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 9.101e-05/0.7966, allocations: 19.38 kB / 1.091 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.7967, allocations: 51 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.907e-05/0.7968, allocations: 12.81 kB / 1.091 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.7969, allocations: 25.59 kB / 1.091 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.385e-05/0.797, allocations: 21.12 kB / 1.091 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.7971, allocations: 4.156 kB / 1.091 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.54e-05/0.7971, allocations: 3.438 kB / 1.091 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.55e-05/0.7971, allocations: 19.28 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.836e-05/0.7972, allocations: 20.84 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.7973, allocations: 40.98 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.7973, allocations: 0 / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.695e-06/0.7973, allocations: 0.7188 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.7973, allocations: 0 / 1.091 GB, free: 4.051 MB / 0.8575 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.0005353/0.7979, allocations: 345.2 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.7979, allocations: 9.375 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.925e-05/0.798, allocations: 7.5 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.7981, allocations: 186.8 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.7981, allocations: 1.984 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.7981, allocations: 2.406 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.7983, allocations: 53.78 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.7983, allocations: 0 / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.7983, allocations: 5.75 kB / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.7983, allocations: 1.094 kB / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.762e-05/0.7984, allocations: 20.27 kB / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.7987, allocations: 275.6 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.7988, allocations: 45.97 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.471e-05/0.7989, allocations: 20.92 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.7989, allocations: 1.094 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001859/0.7991, allocations: 64.34 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.7991, allocations: 0 / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0002328/0.7993, allocations: 85.7 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.7994, allocations: 52.56 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.239e-05/0.7995, allocations: 112.6 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.7995, allocations: 25.7 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.164e-05/0.7995, allocations: 83.62 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.7996, allocations: 19.05 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.7996, allocations: 19.34 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.445e-05/0.7997, allocations: 318 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.602e-05/0.7997, allocations: 15.94 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.772e-05/0.7997, allocations: 12.38 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.661e-05/0.7998, allocations: 39.61 kB / 1.093 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.7998, allocations: 0 / 1.093 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.896e-05/0.7999, allocations: 71.05 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.7999, allocations: 5.672 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.7999, allocations: 0 / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.8, allocations: 1.656 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.363e-05/0.8, allocations: 7.578 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.8001, allocations: 0.6094 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.996e-05/0.8001, allocations: 8.641 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.8001, allocations: 1.125 kB / 1.093 GB, free: 2.25 MB / 0.8575 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 6.106e-05/0.8002, allocations: 116.9 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.322e-05/0.8002, allocations: 2.969 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.354e-05/0.8002, allocations: 13.75 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.8003, allocations: 1.156 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.8003, allocations: 1.844 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.8003, allocations: 3.984 kB / 1.093 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.8004, allocations: 181.2 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.8004, allocations: 4 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.82e-05/0.8004, allocations: 4.672 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.8004, allocations: 1.125 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.8004, allocations: 1.859 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.8004, allocations: 0 / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.8004, allocations: 1.094 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.8006, allocations: 99.41 kB / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.155e-05/0.8006, allocations: 83.31 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.8006, allocations: 5.578 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.711e-05/0.8007, allocations: 3.453 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.8007, allocations: 5.641 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.8007, allocations: 5.5 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.696e-05/0.8008, allocations: 96.53 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8008, allocations: 0.8438 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001867/0.801, allocations: 8.938 kB / 1.093 GB, free: 1.617 MB / 0.8575 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.483e-05/0.8011, allocations: 99.67 kB / 1.093 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001241/0.8012, allocations: 44.44 kB / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.8012, allocations: 0 / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.659e-05/0.8013, allocations: 20.66 kB / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.8014, allocations: 2.156 kB / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003164/0.8017, allocations: 160.4 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.8019, allocations: 0.6815 MB / 1.094 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.243e-05/0.8019, allocations: 10.75 kB / 1.094 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.8019, allocations: 4 kB / 1.094 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of Templates: time 0.002585/0.8045, allocations: 0.749 MB / 1.095 GB, free: 0.5938 MB / 0.8575 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