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.001429/0.001429, allocations: 108.7 kB / 16.37 MB, free: 5.516 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.001304/0.001304, allocations: 193.3 kB / 17.31 MB, free: 5.16 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.514/2.514, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 64.22 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2932, allocations: 153 MB / 1.027 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002932/0.2962, allocations: 1.484 MB / 1.028 GB, free: 0.543 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008802/0.2971, allocations: 474.6 kB / 1.029 GB, free: 76 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.086e-05/0.2972, allocations: 4 kB / 1.029 GB, free: 72 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.144e-05/0.2972, allocations: 7.922 kB / 1.029 GB, free: 64 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002765/0.2975, allocations: 19.86 kB / 1.029 GB, free: 44 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 9.701e-05/0.2977, allocations: 23.97 kB / 1.029 GB, free: 20 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.2978, allocations: 47.8 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.2979, allocations: 4 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.298, allocations: 23.92 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.9e-05/0.2982, allocations: 31.89 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.2982, allocations: 8 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.35e-05/0.2982, allocations: 7.938 kB / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.585e-05/0.2982, allocations: 7.938 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.817e-05/0.2983, allocations: 19.92 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.2984, allocations: 39.81 kB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.505e-06/0.2984, allocations: 4 kB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2984, allocations: 0 / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.2984, allocations: 0 / 1.029 GB, free: 15.83 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.0006333/0.2991, allocations: 355.4 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.2991, allocations: 11.97 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.2992, allocations: 8.844 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.2993, allocations: 164.4 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.2994, allocations: 384 / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.2994, allocations: 12.38 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.2995, allocations: 53.92 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2996, allocations: 0 / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.2996, allocations: 8 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.2996, allocations: 0 / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.572e-05/0.2997, allocations: 19.98 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.3001, allocations: 272.8 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.3002, allocations: 42.56 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.889e-05/0.3003, allocations: 28.73 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.3003, allocations: 0 / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.3005, allocations: 67.48 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.3005, allocations: 0 / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0002345/0.3007, allocations: 77.67 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.3008, allocations: 55.34 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.463e-05/0.3009, allocations: 113.8 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.3009, allocations: 25.7 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.086e-05/0.3009, allocations: 92.08 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.301, allocations: 11.8 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.301, allocations: 21.72 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.3011, allocations: 322.8 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.554e-05/0.3012, allocations: 11.98 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.72e-05/0.3012, allocations: 12 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.693e-05/0.3013, allocations: 24.86 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3013, allocations: 4 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001109/0.3014, allocations: 69.58 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.3014, allocations: 7.938 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3014, allocations: 448 / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.3014, allocations: 4 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.449e-05/0.3015, allocations: 11.98 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3015, allocations: 0 / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.571e-05/0.3016, allocations: 12 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.3016, allocations: 3.938 kB / 1.031 GB, free: 13.71 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 (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 8.345e-05/0.3017, allocations: 114.1 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.517e-05/0.3017, allocations: 7.984 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.315e-05/0.3018, allocations: 7.969 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3018, allocations: 0 / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3018, allocations: 4 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3018, allocations: 0 / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.3019, allocations: 181.5 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3019, allocations: 0 / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.067e-05/0.302, allocations: 7.984 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.302, allocations: 0 / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.302, allocations: 0 / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.302, allocations: 0 / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.302, allocations: 0 / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.3021, allocations: 101 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-05/0.3022, allocations: 85.09 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.3022, allocations: 0 / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.998e-05/0.3023, allocations: 4 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.3023, allocations: 11.92 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.3023, allocations: 4 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.928e-05/0.3024, allocations: 91.27 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3024, allocations: 0 / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001935/0.3026, allocations: 15.84 kB / 1.031 GB, free: 13 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 (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.0001106/0.3027, allocations: 107.2 kB / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001184/0.3028, allocations: 47.86 kB / 1.031 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3028, allocations: 0 / 1.031 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.382e-05/0.3029, allocations: 16 kB / 1.031 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.303, allocations: 6.031 kB / 1.031 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003484/0.3034, allocations: 130.2 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.3037, allocations: 0.6846 MB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.014e-05/0.3037, allocations: 7.938 kB / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.043e-05/0.3037, allocations: 11.42 kB / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of SimCode: time 4.6e-07/0.3037, allocations: 0 / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of Templates: time 0.002766/0.3065, allocations: 0.5499 MB / 1.033 GB, free: 11.39 MB / 0.8106 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 -s gbode -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/jenkins1/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