Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.001346/0.001346, allocations: 78.72 kB / 19.76 MB, free: 1.875 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.001477/0.001477, allocations: 158.6 kB / 23.01 MB, free: 4.598 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.533/1.533, allocations: 177.2 MB / 203.4 MB, free: 8.918 MB / 190.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.743/2.743, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 177] 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.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5001,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5001,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") [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.002185/0.002185, allocations: 67.89 kB / 0.982 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9153/0.9175, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002268/0.9198, allocations: 1.604 MB / 1.155 GB, free: 32.24 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0007996/0.9206, allocations: 0.5633 MB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.811e-05/0.9206, allocations: 0 / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.336e-05/0.9207, allocations: 7.266 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002205/0.9209, allocations: 40.78 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001502/0.921, allocations: 45.94 kB / 1.156 GB, free: 31.81 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.9212, allocations: 114.7 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.867e-05/0.9213, allocations: 16.95 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.9214, allocations: 49.34 kB / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.9215, allocations: 51.59 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.9215, allocations: 5.875 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.96e-05/0.9216, allocations: 22.53 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.319e-05/0.9216, allocations: 18.38 kB / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.882e-05/0.9216, allocations: 44.84 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.9218, allocations: 98.88 kB / 1.157 GB, free: 31.63 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.9218, allocations: 0 / 1.157 GB, free: 31.63 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.302e-06/0.9218, allocations: 4 kB / 1.157 GB, free: 31.63 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.9218, allocations: 0 / 1.157 GB, free: 31.63 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006167/0.9224, allocations: 330.1 kB / 1.157 GB, free: 31.34 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.9224, allocations: 8.375 kB / 1.157 GB, free: 31.34 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.9226, allocations: 16.42 kB / 1.157 GB, free: 31.33 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.9227, allocations: 134.4 kB / 1.157 GB, free: 31.19 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.9227, allocations: 7.469 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.9227, allocations: 3.312 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.9229, allocations: 96.77 kB / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.9229, allocations: 0 / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.9229, allocations: 3.984 kB / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.9229, allocations: 2.812 kB / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.797e-05/0.923, allocations: 47.38 kB / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.9234, allocations: 269.5 kB / 1.157 GB, free: 30.87 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.9237, allocations: 102.6 kB / 1.158 GB, free: 30.81 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.398e-05/0.9237, allocations: 43.8 kB / 1.158 GB, free: 30.79 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.9237, allocations: 3 kB / 1.158 GB, free: 30.79 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.9239, allocations: 91.33 kB / 1.158 GB, free: 30.73 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.9239, allocations: 0 / 1.158 GB, free: 30.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.0002825/0.9242, allocations: 151.3 kB / 1.158 GB, free: 30.65 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.9242, allocations: 57.22 kB / 1.158 GB, free: 30.59 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.058e-05/0.9243, allocations: 129.1 kB / 1.158 GB, free: 30.47 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.9243, allocations: 28.8 kB / 1.158 GB, free: 30.44 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.219e-05/0.9243, allocations: 98.06 kB / 1.158 GB, free: 30.34 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.9244, allocations: 33.62 kB / 1.158 GB, free: 30.32 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/0.9244, allocations: 29.55 kB / 1.158 GB, free: 30.29 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.381e-05/0.9245, allocations: 324.8 kB / 1.158 GB, free: 29.97 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.067e-05/0.9246, allocations: 30.48 kB / 1.158 GB, free: 29.96 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.051e-05/0.9246, allocations: 25.09 kB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.9247, allocations: 66.7 kB / 1.159 GB, free: 29.92 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.9247, allocations: 0 / 1.159 GB, free: 29.92 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001562/0.9249, allocations: 116.4 kB / 1.159 GB, free: 29.86 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.9249, allocations: 5.031 kB / 1.159 GB, free: 29.86 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.9249, allocations: 0 / 1.159 GB, free: 29.86 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.9249, allocations: 2.781 kB / 1.159 GB, free: 29.86 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.925, allocations: 17.7 kB / 1.159 GB, free: 29.86 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.925, allocations: 7.938 kB / 1.159 GB, free: 29.85 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.9251, allocations: 12.97 kB / 1.159 GB, free: 29.84 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.9251, allocations: 6.812 kB / 1.159 GB, free: 29.84 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 6.076e-05/0.9252, allocations: 120.5 kB / 1.159 GB, free: 29.71 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.9252, allocations: 9.828 kB / 1.159 GB, free: 29.71 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.9254, allocations: 148.3 kB / 1.159 GB, free: 29.63 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.9254, allocations: 2.438 kB / 1.159 GB, free: 29.63 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.9254, allocations: 0 / 1.159 GB, free: 29.63 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.9254, allocations: 0 / 1.159 GB, free: 29.63 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.778e-05/0.9255, allocations: 153.2 kB / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.9255, allocations: 0 / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.882e-05/0.9256, allocations: 16.42 kB / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.9256, allocations: 0 / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.9256, allocations: 10.62 kB / 1.159 GB, free: 29.47 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.9256, allocations: 0 / 1.159 GB, free: 29.47 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.9256, allocations: 0 / 1.159 GB, free: 29.47 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001983/0.9258, allocations: 164.5 kB / 1.159 GB, free: 29.37 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.743e-05/0.9259, allocations: 13.41 kB / 1.159 GB, free: 29.36 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.9259, allocations: 7.281 kB / 1.159 GB, free: 29.36 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.926, allocations: 9.625 kB / 1.159 GB, free: 29.35 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.926, allocations: 13.36 kB / 1.159 GB, free: 29.35 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.292e-05/0.9261, allocations: 8.734 kB / 1.159 GB, free: 29.35 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.377e-05/0.9261, allocations: 97.48 kB / 1.159 GB, free: 29.27 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9261, allocations: 0 / 1.159 GB, free: 29.27 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002091/0.9263, allocations: 18.88 kB / 1.159 GB, free: 29.27 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * 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 8.87e-05/0.9264, allocations: 107.1 kB / 1.16 GB, free: 29.17 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001753/0.9266, allocations: 84.69 kB / 1.16 GB, free: 29.14 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.9266, allocations: 3.938 kB / 1.16 GB, free: 29.14 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.226e-05/0.9267, allocations: 54.8 kB / 1.16 GB, free: 29.12 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.9268, allocations: 4 kB / 1.16 GB, free: 29.12 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003617/0.9272, allocations: 213.9 kB / 1.16 GB, free: 28.96 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.517e-05/0.9272, allocations: 85.47 kB / 1.16 GB, free: 28.89 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.042e-05/0.9273, allocations: 16.83 kB / 1.16 GB, free: 28.88 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.044e-05/0.9273, allocations: 23.78 kB / 1.16 GB, free: 28.87 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/0.9273, allocations: 0 / 1.16 GB, free: 28.87 MB / 1.076 GB Notification: Performance of Templates: time 0.003377/0.9307, allocations: 1.07 MB / 1.161 GB, free: 28.72 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.80070365301799]