Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001796/0.001796, allocations: 187.8 kB / 22.23 MB, free: 5.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.642/2.642, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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=2500,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 75.88 kB / 1.061 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9008/0.9031, allocations: 160.8 MB / 1.218 GB, free: 4.406 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002998/0.9061, allocations: 1.497 MB / 1.22 GB, free: 2.902 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009713/0.9071, allocations: 486.7 kB / 1.22 GB, free: 2.422 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.565e-05/0.9071, allocations: 0 / 1.22 GB, free: 2.422 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.165e-05/0.9072, allocations: 0 / 1.22 GB, free: 2.422 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.9074, allocations: 31.77 kB / 1.22 GB, free: 2.391 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 9.21e-05/0.9075, allocations: 15.98 kB / 1.22 GB, free: 2.375 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.9076, allocations: 59.72 kB / 1.221 GB, free: 2.316 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.777e-05/0.9077, allocations: 7.984 kB / 1.221 GB, free: 2.309 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.9078, allocations: 27.92 kB / 1.221 GB, free: 2.281 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.09e-05/0.9079, allocations: 19.92 kB / 1.221 GB, free: 2.262 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.9079, allocations: 0 / 1.221 GB, free: 2.262 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.292e-05/0.9079, allocations: 4 kB / 1.221 GB, free: 2.258 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.423e-05/0.908, allocations: 11.98 kB / 1.221 GB, free: 2.246 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.356e-05/0.908, allocations: 23.86 kB / 1.221 GB, free: 2.223 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.9081, allocations: 43.67 kB / 1.221 GB, free: 2.184 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.9081, allocations: 0 / 1.221 GB, free: 2.184 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9081, allocations: 4 kB / 1.221 GB, free: 2.18 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.9082, allocations: 4 kB / 1.221 GB, free: 2.176 MB / 0.92 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.0006431/0.9088, allocations: 353.8 kB / 1.221 GB, free: 1.789 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.9088, allocations: 8.031 kB / 1.221 GB, free: 1.781 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/0.9089, allocations: 4.938 kB / 1.221 GB, free: 1.777 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.9091, allocations: 180.3 kB / 1.221 GB, free: 1.562 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.9091, allocations: 384 / 1.221 GB, free: 1.562 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.9091, allocations: 4.375 kB / 1.221 GB, free: 1.559 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.9092, allocations: 57.94 kB / 1.221 GB, free: 1.496 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.9092, allocations: 0 / 1.221 GB, free: 1.496 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.9092, allocations: 0 / 1.221 GB, free: 1.496 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.9092, allocations: 4 kB / 1.221 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.868e-05/0.9093, allocations: 15.98 kB / 1.221 GB, free: 1.477 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004425/0.9098, allocations: 276.8 kB / 1.222 GB, free: 1.156 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.9099, allocations: 42.56 kB / 1.222 GB, free: 1.105 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.676e-05/0.9099, allocations: 20.86 kB / 1.222 GB, free: 1.082 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.9099, allocations: 96 / 1.222 GB, free: 1.082 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/0.9101, allocations: 75.27 kB / 1.222 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.9101, allocations: 0 / 1.222 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0002375/0.9104, allocations: 73.69 kB / 1.222 GB, free: 0.918 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.9104, allocations: 55.41 kB / 1.222 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.9106, allocations: 113.8 kB / 1.222 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.9106, allocations: 33.7 kB / 1.222 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.641e-05/0.9106, allocations: 88.12 kB / 1.222 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.9107, allocations: 11.84 kB / 1.222 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.9107, allocations: 21.72 kB / 1.222 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.9109, allocations: 322.8 kB / 1.222 GB, free: 244 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.232e-05/0.9109, allocations: 12 kB / 1.222 GB, free: 232 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.436e-05/0.9109, allocations: 8 kB / 1.222 GB, free: 224 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.657e-05/0.911, allocations: 37.16 kB / 1.222 GB, free: 184 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.911, allocations: 0 / 1.222 GB, free: 184 kB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001269/0.9111, allocations: 73.64 kB / 1.222 GB, free: 104 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.9111, allocations: 4 kB / 1.222 GB, free: 100 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.9111, allocations: 0 / 1.222 GB, free: 100 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.9112, allocations: 4 kB / 1.222 GB, free: 96 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.513e-05/0.9112, allocations: 4 kB / 1.222 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.9112, allocations: 0 / 1.222 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.603e-05/0.9113, allocations: 11.94 kB / 1.222 GB, free: 80 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.9113, allocations: 3.984 kB / 1.222 GB, free: 76 kB / 0.92 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 0.0001313/0.9114, allocations: 121.7 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.9115, allocations: 7.953 kB / 1.223 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.9115, allocations: 8.062 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.9115, allocations: 0 / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.9115, allocations: 0 / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.9115, allocations: 0 / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.9117, allocations: 177.6 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.9117, allocations: 0 / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.744e-05/0.9117, allocations: 4 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.9117, allocations: 0 / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.9117, allocations: 3.938 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.9117, allocations: 4 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.9117, allocations: 0 / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.9119, allocations: 105 kB / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.539e-05/0.9119, allocations: 85.05 kB / 1.223 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.9119, allocations: 0 / 1.223 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.163e-05/0.912, allocations: 11.98 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/0.912, allocations: 0 / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.912, allocations: 4.125 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.174e-05/0.9121, allocations: 95.27 kB / 1.223 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.9121, allocations: 0 / 1.223 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001823/0.9123, allocations: 11.94 kB / 1.223 GB, free: 15.35 MB / 0.9356 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.000125/0.9124, allocations: 103.2 kB / 1.223 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001254/0.9125, allocations: 39.92 kB / 1.223 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.9125, allocations: 0 / 1.223 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.206e-05/0.9126, allocations: 23.92 kB / 1.223 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.9127, allocations: 0 / 1.223 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003703/0.9131, allocations: 146.1 kB / 1.223 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.9135, allocations: 0.6846 MB / 1.224 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.538e-05/0.9135, allocations: 4 kB / 1.224 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.999e-05/0.9135, allocations: 11.44 kB / 1.224 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of SimCode: time 3.51e-07/0.9135, allocations: 0 / 1.224 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of Templates: time 0.003244/0.9168, allocations: 0.5788 MB / 1.225 GB, free: 13.71 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.816646576859057]