Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0008569/0.0008569, allocations: 87.03 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.0009028/0.000903, 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.464/1.464, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.906/2.906, allocations: 462.6 MB / 0.736 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003779/0.000378, allocations: 8.531 kB / 0.9021 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3925, allocations: 159.6 MB / 1.058 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001845/0.3944, allocations: 1.19 MB / 1.059 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008135/0.3953, allocations: 439 kB / 1.06 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.132e-05/0.3953, allocations: 0 / 1.06 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.235e-05/0.3954, allocations: 7.984 kB / 1.06 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002628/0.3957, allocations: 22.67 kB / 1.06 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.513e-05/0.3958, allocations: 19.92 kB / 1.06 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.3959, allocations: 43.84 kB / 1.06 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.396, allocations: 4 kB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.3962, allocations: 23.92 kB / 1.06 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.3963, allocations: 23.84 kB / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.3963, allocations: 4 kB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.508e-05/0.3963, allocations: 4 kB / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.44e-05/0.3964, allocations: 4 kB / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.926e-05/0.3964, allocations: 37.69 kB / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.79e-05/0.3965, allocations: 24.17 kB / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.3965, allocations: 0 / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.364e-06/0.3965, allocations: 0 / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.3966, allocations: 0 / 1.06 GB, free: 3.547 MB / 0.8106 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.0006334/0.3972, allocations: 343.2 kB / 1.06 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.3973, allocations: 16.03 kB / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.058e-05/0.3973, allocations: 3.938 kB / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.3975, allocations: 175 kB / 1.06 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.3975, allocations: 7.938 kB / 1.06 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.3975, allocations: 3.953 kB / 1.06 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.3977, allocations: 53.61 kB / 1.06 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.3977, allocations: 4 kB / 1.06 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.3977, allocations: 0 / 1.06 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.3977, allocations: 3.984 kB / 1.06 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.051e-05/0.3978, allocations: 16 kB / 1.06 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005152/0.3983, allocations: 276.8 kB / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.3985, allocations: 46.56 kB / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.269e-05/0.3985, allocations: 24.94 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.3986, allocations: 0 / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002162/0.3988, allocations: 67.39 kB / 1.061 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.3988, allocations: 3.938 kB / 1.061 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0002761/0.3991, allocations: 73.69 kB / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.541e-05/0.3992, allocations: 51.41 kB / 1.061 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.3993, allocations: 113.8 kB / 1.061 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.3993, allocations: 25.7 kB / 1.061 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.205e-05/0.3994, allocations: 95.97 kB / 1.061 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.3994, allocations: 11.81 kB / 1.061 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/0.3994, allocations: 0 / 1.061 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3996, allocations: 326.8 kB / 1.061 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.507e-05/0.3996, allocations: 11.98 kB / 1.061 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.753e-05/0.3997, allocations: 12 kB / 1.061 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.124e-05/0.3997, allocations: 8 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.3997, allocations: 7.938 kB / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001185/0.3999, allocations: 62.06 kB / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.3999, allocations: 5.875 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.3999, allocations: 0 / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3999, allocations: 64 / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.04e-05/0.4, allocations: 19.98 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.4, allocations: 0 / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.232e-05/0.4001, allocations: 4 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.4001, allocations: 0 / 1.062 GB, free: 1.492 MB / 0.8106 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 0.0001197/0.4002, allocations: 117.8 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.887e-05/0.4003, allocations: 7.906 kB / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.43e-05/0.4003, allocations: 11.95 kB / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.4003, allocations: 0 / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.4003, allocations: 11.88 kB / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4003, allocations: 0 / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.4005, allocations: 173.6 kB / 1.062 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4005, allocations: 0 / 1.062 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.407e-05/0.4006, allocations: 11.92 kB / 1.062 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.4006, allocations: 0 / 1.062 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.4006, allocations: 0 / 1.062 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4006, allocations: 0 / 1.062 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4006, allocations: 320 / 1.062 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.4008, allocations: 93.12 kB / 1.062 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.076e-05/0.4008, allocations: 92.95 kB / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.4008, allocations: 0 / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.651e-05/0.4009, allocations: 4 kB / 1.062 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.401, allocations: 7.984 kB / 1.062 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.401, allocations: 0 / 1.062 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.832e-05/0.401, allocations: 95.2 kB / 1.062 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4011, allocations: 0 / 1.062 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002092/0.4013, allocations: 15.94 kB / 1.062 GB, free: 0.7656 MB / 0.8106 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.000148/0.4014, allocations: 111.2 kB / 1.062 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001343/0.4016, allocations: 35.98 kB / 1.062 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4016, allocations: 0 / 1.062 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.983e-05/0.4016, allocations: 20.12 kB / 1.062 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/0.4018, allocations: 0 / 1.062 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004206/0.4023, allocations: 142.9 kB / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.4026, allocations: 0.6848 MB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.592e-05/0.4026, allocations: 8 kB / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.541e-05/0.4027, allocations: 11.38 kB / 1.063 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.4027, allocations: 0 / 1.063 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of Templates: time 0.003398/0.4061, allocations: 0.4887 MB / 1.064 GB, free: 15.21 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches