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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 115 kB / 17.08 MB, free: 5.957 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.001862/0.001862, allocations: 191.7 kB / 20.03 MB, free: 3.039 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.49/1.49, allocations: 222.9 MB / 245.7 MB, free: 4.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.016/3.016, allocations: 489.3 MB / 0.7687 GB, free: 3.953 MB / 0.6075 GB " [Timeout remaining time 176] 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=2500,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=2500,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 67.89 kB / 1.103 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017/1.019, allocations: 163.8 MB / 1.263 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002454/1.022, allocations: 1.482 MB / 1.264 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007685/1.022, allocations: 475.9 kB / 1.264 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.123e-05/1.022, allocations: 0.7188 kB / 1.264 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.96e-05/1.022, allocations: 4.688 kB / 1.264 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002244/1.023, allocations: 32.28 kB / 1.265 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 7.557e-05/1.023, allocations: 18.75 kB / 1.265 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/1.023, allocations: 51.09 kB / 1.265 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.391e-05/1.023, allocations: 5.578 kB / 1.265 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.041e-05/1.023, allocations: 24.19 kB / 1.265 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.444e-05/1.023, allocations: 29.12 kB / 1.265 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/1.023, allocations: 4.125 kB / 1.265 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.392e-05/1.023, allocations: 3.562 kB / 1.265 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.418e-05/1.023, allocations: 15.8 kB / 1.265 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.653e-05/1.023, allocations: 16.97 kB / 1.265 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/1.023, allocations: 44.81 kB / 1.265 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/1.023, allocations: 0.6875 kB / 1.265 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.663e-06/1.023, allocations: 0 / 1.265 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.591e-06/1.023, allocations: 0.75 kB / 1.265 GB, free: 6.535 MB / 0.9981 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.0004682/1.024, allocations: 353.1 kB / 1.265 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/1.024, allocations: 9.156 kB / 1.265 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/1.024, allocations: 11.95 kB / 1.265 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.812e-05/1.024, allocations: 170.8 kB / 1.265 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/1.024, allocations: 1.953 kB / 1.265 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/1.024, allocations: 6.938 kB / 1.265 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/1.024, allocations: 57.33 kB / 1.265 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/1.024, allocations: 0 / 1.265 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/1.024, allocations: 5.484 kB / 1.265 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/1.024, allocations: 1.125 kB / 1.265 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.214e-05/1.024, allocations: 20.5 kB / 1.265 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003027/1.025, allocations: 275.8 kB / 1.266 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/1.025, allocations: 50.64 kB / 1.266 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.374e-05/1.025, allocations: 20.08 kB / 1.266 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/1.025, allocations: 1.531 kB / 1.266 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/1.025, allocations: 63.73 kB / 1.266 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/1.025, allocations: 0 / 1.266 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.0002076/1.025, allocations: 85 kB / 1.266 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/1.025, allocations: 53.39 kB / 1.266 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.601e-05/1.025, allocations: 112 kB / 1.266 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/1.025, allocations: 26.33 kB / 1.266 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.685e-05/1.025, allocations: 91 kB / 1.266 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/1.025, allocations: 15.5 kB / 1.266 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/1.025, allocations: 18.78 kB / 1.266 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.723e-05/1.025, allocations: 322.5 kB / 1.266 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.475e-05/1.026, allocations: 16.2 kB / 1.266 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.83e-05/1.026, allocations: 16.42 kB / 1.266 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.886e-05/1.026, allocations: 27.33 kB / 1.266 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/1.026, allocations: 0.8125 kB / 1.266 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001008/1.026, allocations: 66.5 kB / 1.267 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/1.026, allocations: 7.219 kB / 1.267 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/1.026, allocations: 1.125 kB / 1.267 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/1.026, allocations: 0.6562 kB / 1.267 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.179e-05/1.026, allocations: 7.922 kB / 1.267 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/1.026, allocations: 5.422 kB / 1.267 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.942e-05/1.026, allocations: 7.594 kB / 1.267 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/1.026, allocations: 1.625 kB / 1.267 GB, free: 4.73 MB / 0.9981 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 5.384e-05/1.026, allocations: 120.3 kB / 1.267 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/1.026, allocations: 6.906 kB / 1.267 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.502e-05/1.026, allocations: 9.422 kB / 1.267 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/1.026, allocations: 5.438 kB / 1.267 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/1.026, allocations: 0.75 kB / 1.267 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.026, allocations: 1.328 kB / 1.267 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.293e-05/1.026, allocations: 176.6 kB / 1.267 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.026, allocations: 0 / 1.267 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.89e-05/1.026, allocations: 4.625 kB / 1.267 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/1.026, allocations: 1.484 kB / 1.267 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/1.026, allocations: 5.297 kB / 1.267 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/1.026, allocations: 0.6562 kB / 1.267 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.026, allocations: 0.5156 kB / 1.267 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/1.026, allocations: 103.9 kB / 1.267 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.423e-05/1.026, allocations: 83.31 kB / 1.267 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/1.026, allocations: 2.469 kB / 1.267 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.646e-05/1.027, allocations: 7 kB / 1.267 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/1.027, allocations: 8.844 kB / 1.267 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/1.027, allocations: 1.609 kB / 1.267 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.702e-05/1.027, allocations: 89.78 kB / 1.267 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.027, allocations: 0 / 1.267 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001898/1.027, allocations: 9.406 kB / 1.267 GB, free: 4.105 MB / 0.9981 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.333e-05/1.027, allocations: 103.4 kB / 1.267 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001318/1.027, allocations: 43.36 kB / 1.267 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.027, allocations: 0 / 1.267 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.847e-05/1.027, allocations: 16.92 kB / 1.267 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/1.027, allocations: 6.688 kB / 1.267 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003115/1.028, allocations: 164.1 kB / 1.267 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/1.028, allocations: 0.6816 MB / 1.268 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.066e-05/1.028, allocations: 14.92 kB / 1.268 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/1.028, allocations: 0 / 1.268 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of Templates: time 0.002395/1.03, allocations: 0.7403 MB / 1.269 GB, free: 3.082 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 800] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.38129336410202]