Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 111.7 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001951/0.001951, allocations: 204 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.875/2.875, allocations: 0.49 GB / 0.7923 GB, free: 1.297 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 67.89 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.872/0.874, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002136/0.8761, allocations: 1.501 MB / 1.323 GB, free: 24 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007363/0.8769, allocations: 0.5028 MB / 1.324 GB, free: 23.65 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.358e-05/0.8769, allocations: 0 / 1.324 GB, free: 23.65 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.427e-05/0.8769, allocations: 3.938 kB / 1.324 GB, free: 23.65 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002114/0.8772, allocations: 28.83 kB / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 7.094e-05/0.8772, allocations: 14.3 kB / 1.324 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.502e-05/0.8773, allocations: 51.31 kB / 1.324 GB, free: 23.6 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.095e-05/0.8774, allocations: 5.625 kB / 1.324 GB, free: 23.6 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.8775, allocations: 32.23 kB / 1.324 GB, free: 23.58 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.894e-05/0.8776, allocations: 25.75 kB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.8776, allocations: 5.094 kB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.068e-05/0.8776, allocations: 2.562 kB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.765e-05/0.8776, allocations: 14.38 kB / 1.324 GB, free: 23.56 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.8777, allocations: 28.11 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.18e-05/0.8778, allocations: 41.81 kB / 1.324 GB, free: 23.53 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.8778, allocations: 0 / 1.324 GB, free: 23.53 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.212e-06/0.8778, allocations: 0 / 1.324 GB, free: 23.53 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.8778, allocations: 0 / 1.324 GB, free: 23.53 MB / 1.061 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.0004815/0.8783, allocations: 353.5 kB / 1.324 GB, free: 23.17 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.875e-05/0.8783, allocations: 15.42 kB / 1.325 GB, free: 23.16 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.017e-05/0.8783, allocations: 4.938 kB / 1.325 GB, free: 23.16 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.379e-05/0.8784, allocations: 181 kB / 1.325 GB, free: 22.95 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.8784, allocations: 4.375 kB / 1.325 GB, free: 22.95 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.8784, allocations: 3.25 kB / 1.325 GB, free: 22.95 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.603e-05/0.8785, allocations: 53.84 kB / 1.325 GB, free: 22.91 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.8785, allocations: 7.875 kB / 1.325 GB, free: 22.9 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.8785, allocations: 2.812 kB / 1.325 GB, free: 22.9 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.8786, allocations: 0 / 1.325 GB, free: 22.9 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.063e-05/0.8786, allocations: 16.09 kB / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002709/0.8789, allocations: 279.7 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.159e-05/0.879, allocations: 41.83 kB / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.54e-05/0.879, allocations: 17.73 kB / 1.325 GB, free: 22.56 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.123e-06/0.879, allocations: 6.844 kB / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001257/0.8791, allocations: 65.52 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.8791, allocations: 0 / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=5): time 0.0001857/0.8793, allocations: 81.95 kB / 1.325 GB, free: 22.45 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/0.8793, allocations: 55.41 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.961e-05/0.8794, allocations: 117.1 kB / 1.325 GB, free: 22.27 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.8794, allocations: 25.7 kB / 1.325 GB, free: 22.24 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.192e-05/0.8794, allocations: 87.2 kB / 1.326 GB, free: 22.16 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.8795, allocations: 11.28 kB / 1.326 GB, free: 22.15 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.8795, allocations: 19.75 kB / 1.326 GB, free: 22.13 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.983e-05/0.8795, allocations: 322.2 kB / 1.326 GB, free: 21.81 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.845e-05/0.8795, allocations: 9.688 kB / 1.326 GB, free: 21.8 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.345e-05/0.8796, allocations: 15.78 kB / 1.326 GB, free: 21.8 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.962e-05/0.8796, allocations: 30.05 kB / 1.326 GB, free: 21.78 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.8796, allocations: 0 / 1.326 GB, free: 21.78 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.125e-05/0.8797, allocations: 67.02 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.8797, allocations: 5.531 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.8797, allocations: 4 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.8797, allocations: 4 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.821e-05/0.8798, allocations: 12.56 kB / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.8798, allocations: 0 / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.932e-05/0.8799, allocations: 14.31 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.8799, allocations: 4 kB / 1.326 GB, free: 21.71 MB / 1.061 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 4.906e-05/0.8799, allocations: 112.5 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.237e-05/0.8799, allocations: 2.75 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.976e-05/0.88, allocations: 11.44 kB / 1.326 GB, free: 21.58 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.88, allocations: 2.719 kB / 1.326 GB, free: 21.58 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.88, allocations: 0 / 1.326 GB, free: 21.58 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.88, allocations: 3.938 kB / 1.326 GB, free: 21.57 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.762e-05/0.8801, allocations: 176.2 kB / 1.326 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.8801, allocations: 2.719 kB / 1.326 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.559e-05/0.8801, allocations: 6.656 kB / 1.326 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.8801, allocations: 0 / 1.326 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.8801, allocations: 2.844 kB / 1.326 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.8801, allocations: 0 / 1.326 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.8801, allocations: 0 / 1.326 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.8802, allocations: 101 kB / 1.326 GB, free: 21.28 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.8802, allocations: 81.06 kB / 1.326 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.8802, allocations: 2.875 kB / 1.326 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.962e-05/0.8803, allocations: 14.39 kB / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.8803, allocations: 2.562 kB / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.8803, allocations: 0 / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.19e-05/0.8804, allocations: 90.8 kB / 1.327 GB, free: 21.1 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.8804, allocations: 0 / 1.327 GB, free: 21.1 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001989/0.8806, allocations: 8.562 kB / 1.327 GB, free: 21.1 MB / 1.061 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 8.406e-05/0.8807, allocations: 111.1 kB / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001106/0.8808, allocations: 39.47 kB / 1.327 GB, free: 20.99 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.8808, allocations: 4 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.793e-05/0.8808, allocations: 12.62 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.881, allocations: 5.453 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002604/0.8812, allocations: 168.5 kB / 1.327 GB, free: 20.82 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.545e-05/0.8813, allocations: 0.6812 MB / 1.328 GB, free: 20.13 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.8813, allocations: 10.5 kB / 1.328 GB, free: 20.12 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.8813, allocations: 0 / 1.328 GB, free: 20.12 MB / 1.061 GB Notification: Performance of Templates: time 0.00198/0.8833, allocations: 0.7534 MB / 1.328 GB, free: 20.05 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.153446281008655]