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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001355/0.001354, allocations: 108 kB / 15.61 MB, free: 152 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.001805/0.001805, allocations: 193.3 kB / 16.53 MB, free: 6.699 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.391/1.391, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.829/2.829, allocations: 472.6 MB / 0.7451 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001369, allocations: 64.12 kB / 0.912 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3471, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003607/0.3508, allocations: 1.48 MB / 1.07 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009734/0.3518, allocations: 470.7 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.231e-05/0.3519, allocations: 0 / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.273e-05/0.3519, allocations: 3.938 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003241/0.3523, allocations: 27.84 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001054/0.3524, allocations: 15.92 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.3525, allocations: 51.8 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.3526, allocations: 11.97 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.3528, allocations: 31.86 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.3529, allocations: 23.91 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.3529, allocations: 7.938 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.146e-05/0.3529, allocations: 4 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.946e-05/0.353, allocations: 7.984 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.613e-05/0.3531, allocations: 27.86 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.3532, allocations: 44.11 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3532, allocations: 0 / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3532, allocations: 0 / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.3532, allocations: 0 / 1.07 GB, free: 8.219 MB / 0.8262 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.0007794/0.354, allocations: 351.4 kB / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.3541, allocations: 8.031 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.356e-05/0.3541, allocations: 4.844 kB / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.3543, allocations: 176.4 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.3544, allocations: 384 / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.3544, allocations: 384 / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.3545, allocations: 61.92 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.3545, allocations: 0 / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.3546, allocations: 0 / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.3546, allocations: 0 / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.084e-05/0.3546, allocations: 19.98 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.355, allocations: 284.8 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.3551, allocations: 46.5 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.134e-05/0.3552, allocations: 20.86 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.3552, allocations: 0 / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.3554, allocations: 63.48 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.3554, allocations: 0 / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0002193/0.3556, allocations: 89.61 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.3557, allocations: 51.41 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.485e-05/0.3558, allocations: 109.8 kB / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.3558, allocations: 25.7 kB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/0.3559, allocations: 95.92 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.3559, allocations: 15.89 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.3559, allocations: 17.72 kB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.356, allocations: 314.8 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.255e-05/0.3561, allocations: 19.98 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.298e-05/0.3561, allocations: 12 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.751e-05/0.3562, allocations: 28.86 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3562, allocations: 0 / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001049/0.3563, allocations: 69.53 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3563, allocations: 9.719 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3563, allocations: 0 / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3563, allocations: 0 / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.372e-05/0.3564, allocations: 15.92 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3564, allocations: 0 / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.588e-05/0.3565, allocations: 4 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.3565, allocations: 4 kB / 1.072 GB, free: 6.113 MB / 0.8262 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.224e-05/0.3566, allocations: 121.8 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.3566, allocations: 4.344 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.392e-05/0.3566, allocations: 3.969 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.3567, allocations: 4 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3567, allocations: 0 / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3567, allocations: 0 / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.3568, allocations: 173.6 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3568, allocations: 7.984 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.218e-05/0.3568, allocations: 4 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3569, allocations: 3.938 kB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.3569, allocations: 8 kB / 1.073 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3569, allocations: 0 / 1.073 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3569, allocations: 0 / 1.073 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.357, allocations: 93.05 kB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.994e-05/0.3571, allocations: 81.02 kB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.3571, allocations: 15.98 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.535e-05/0.3572, allocations: 0 / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.3572, allocations: 7.984 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.3572, allocations: 0 / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.007e-05/0.3573, allocations: 95.2 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3573, allocations: 0 / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001852/0.3575, allocations: 15.94 kB / 1.073 GB, free: 5.387 MB / 0.8262 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.0001153/0.3576, allocations: 99.78 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001364/0.3577, allocations: 43.86 kB / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3577, allocations: 0 / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.724e-05/0.3578, allocations: 20 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.358, allocations: 4.562 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003319/0.3583, allocations: 141.9 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.3585, allocations: 0.6885 MB / 1.074 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.659e-05/0.3586, allocations: 3.984 kB / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.3586, allocations: 15.44 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3586, allocations: 0 / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of Templates: time 0.00274/0.3614, allocations: 0.5412 MB / 1.074 GB, free: 3.785 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