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.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.001856/0.001856, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.00248/0.00248, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.52/1.52, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.182/3.182, allocations: 429.6 MB / 0.673 GB, free: 3.875 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 2.104e-06/2.104e-06, allocations: 0 / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.069e-05/3.279e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003906/0.003939, allocations: 1.501 MB / 0.8791 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.005038, allocations: 482.1 kB / 0.8795 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.017e-05/0.005098, allocations: 0 / 0.8795 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.795e-05/0.005136, allocations: 4.562 kB / 0.8795 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002665/0.005403, allocations: 29.38 kB / 0.8796 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 9.443e-05/0.005497, allocations: 11.98 kB / 0.8796 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.005625, allocations: 63.72 kB / 0.8796 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.595e-05/0.005721, allocations: 1.844 kB / 0.8796 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002109/0.005932, allocations: 43.89 kB / 0.8797 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.582e-05/0.006027, allocations: 23.91 kB / 0.8797 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.00605, allocations: 8 kB / 0.8797 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.349e-05/0.006063, allocations: 4 kB / 0.8797 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.045e-05/0.006084, allocations: 10.7 kB / 0.8797 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.357e-05/0.006137, allocations: 19.92 kB / 0.8797 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.006252, allocations: 47.86 kB / 0.8798 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.006255, allocations: 0 / 0.8798 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.81e-07/0.006256, allocations: 3.938 kB / 0.8798 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.00626, allocations: 0 / 0.8798 GB, free: 4.254 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006763/0.006936, allocations: 286.9 kB / 0.8801 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/0.006993, allocations: 12.03 kB / 0.8801 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.718e-05/0.00705, allocations: 6.594 kB / 0.8801 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.007227, allocations: 121.7 kB / 0.8802 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.007248, allocations: 4.375 kB / 0.8802 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.00726, allocations: 384 / 0.8802 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.007408, allocations: 51.59 kB / 0.8803 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.007422, allocations: 4.188 kB / 0.8803 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.007441, allocations: 12.36 kB / 0.8803 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.007448, allocations: 3.938 kB / 0.8803 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.921e-05/0.007517, allocations: 16 kB / 0.8803 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005422/0.008059, allocations: 224.5 kB / 0.8805 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.008214, allocations: 46.56 kB / 0.8805 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.887e-05/0.008272, allocations: 24.97 kB / 0.8806 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.008287, allocations: 4 kB / 0.8806 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002204/0.008507, allocations: 67.33 kB / 0.8806 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.008509, allocations: 0 / 0.8806 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0002768/0.008785, allocations: 93.56 kB / 0.8807 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.008844, allocations: 55.41 kB / 0.8808 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.008964, allocations: 113.8 kB / 0.8809 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.00899, allocations: 29.7 kB / 0.8809 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.849e-05/0.009058, allocations: 88.08 kB / 0.881 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.009092, allocations: 19.86 kB / 0.881 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/0.009138, allocations: 21.7 kB / 0.881 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.009326, allocations: 314.8 kB / 0.8813 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.237e-05/0.009378, allocations: 19.98 kB / 0.8814 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.204e-05/0.009411, allocations: 12 kB / 0.8814 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.424e-05/0.009495, allocations: 41.25 kB / 0.8814 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.009496, allocations: 0 / 0.8814 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001503/0.009647, allocations: 85.61 kB / 0.8815 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.009663, allocations: 8 kB / 0.8815 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.009668, allocations: 0 / 0.8815 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.009691, allocations: 3.984 kB / 0.8815 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.821e-05/0.009779, allocations: 8 kB / 0.8815 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.009785, allocations: 3.938 kB / 0.8815 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.956e-05/0.009854, allocations: 11.94 kB / 0.8815 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.009863, allocations: 0 / 0.8815 GB, free: 2.305 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (locTim.k,$PRE.locTim.k,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 (8): * Single equations (assignments): 8 * 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.0001198/0.009983, allocations: 117.8 kB / 0.8816 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/0.01, allocations: 7.938 kB / 0.8816 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.018e-05/0.01003, allocations: 12.44 kB / 0.8817 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.01004, allocations: 4 kB / 0.8817 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.01004, allocations: 0 / 0.8817 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.01005, allocations: 0 / 0.8817 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.0102, allocations: 121.3 kB / 0.8818 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.0102, allocations: 0 / 0.8818 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.287e-05/0.01023, allocations: 8.25 kB / 0.8818 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.01023, allocations: 3.938 kB / 0.8818 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.01025, allocations: 8 kB / 0.8818 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.01025, allocations: 0 / 0.8818 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.01025, allocations: 0 / 0.8818 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.01043, allocations: 109 kB / 0.8819 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.216e-05/0.01044, allocations: 4 kB / 0.8819 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.01046, allocations: 3.938 kB / 0.8819 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.088e-05/0.01052, allocations: 4 kB / 0.8819 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.01057, allocations: 7.984 kB / 0.8819 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.01058, allocations: 0 / 0.8819 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.697e-05/0.01065, allocations: 95.27 kB / 0.882 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1e-07/0.01065, allocations: 0 / 0.882 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001922/0.01084, allocations: 11.95 kB / 0.882 GB, free: 1.734 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,locTim.tNext,locTim.k) * Number of discrete states: 2 (locTim.k,locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000135/0.01098, allocations: 95.25 kB / 0.8821 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001306/0.01111, allocations: 43.98 kB / 0.8822 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01111, allocations: 3.938 kB / 0.8822 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.236e-05/0.01116, allocations: 19.98 kB / 0.8822 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.01133, allocations: 8 kB / 0.8822 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003978/0.01173, allocations: 136.6 kB / 0.8823 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.421e-05/0.01181, allocations: 75.2 kB / 0.8824 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.753e-05/0.01184, allocations: 0 / 0.8824 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.104e-05/0.01188, allocations: 16.48 kB / 0.8824 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of SimCode: time 3.9e-07/0.01188, allocations: 4 kB / 0.8824 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of Templates: time 0.003723/0.0156, allocations: 0.6195 MB / 0.883 GB, free: 0.6875 MB / 0.8386 GB " [Timeout remaining time 300] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.186517213936895]