Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.00189/0.00189, allocations: 110 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.001799/0.001799, allocations: 192.4 kB / 22.23 MB, free: 5.156 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.463/1.463, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.243/3.243, allocations: 495.7 MB / 0.7831 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5001,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 67.08 kB / 1.137 GB, free: 33.9 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3404, allocations: 173.6 MB / 1.307 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003585/0.344, allocations: 1.624 MB / 1.309 GB, free: 292 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.345, allocations: 0.5415 MB / 1.309 GB, free: 15.74 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.518e-05/0.3451, allocations: 0 / 1.309 GB, free: 15.74 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.182e-05/0.3451, allocations: 11.86 kB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003094/0.3455, allocations: 42.14 kB / 1.309 GB, free: 15.69 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001388/0.3456, allocations: 47.88 kB / 1.309 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.3458, allocations: 107.6 kB / 1.309 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.3459, allocations: 19.92 kB / 1.309 GB, free: 15.52 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.346, allocations: 51.89 kB / 1.309 GB, free: 15.46 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.3462, allocations: 55.7 kB / 1.309 GB, free: 15.41 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.803e-05/0.3462, allocations: 8 kB / 1.309 GB, free: 15.4 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.309e-05/0.3462, allocations: 8 kB / 1.309 GB, free: 15.39 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.631e-05/0.3463, allocations: 23.91 kB / 1.309 GB, free: 15.37 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.523e-05/0.3463, allocations: 43.8 kB / 1.309 GB, free: 15.33 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.3465, allocations: 99.61 kB / 1.31 GB, free: 15.23 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3465, allocations: 0 / 1.31 GB, free: 15.23 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.043e-06/0.3465, allocations: 0 / 1.31 GB, free: 15.23 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.3465, allocations: 0 / 1.31 GB, free: 15.23 MB / 1.014 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.0008066/0.3473, allocations: 322 kB / 1.31 GB, free: 14.89 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.3474, allocations: 8.031 kB / 1.31 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.084e-05/0.3474, allocations: 12.89 kB / 1.31 GB, free: 14.87 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.3476, allocations: 134.4 kB / 1.31 GB, free: 14.71 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.3476, allocations: 8.312 kB / 1.31 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.3476, allocations: 8.359 kB / 1.31 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.3478, allocations: 89.95 kB / 1.31 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.3478, allocations: 0 / 1.31 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.3479, allocations: 4 kB / 1.31 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.3479, allocations: 0 / 1.31 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.348, allocations: 51.91 kB / 1.31 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005583/0.3486, allocations: 315.7 kB / 1.31 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/0.3489, allocations: 90.73 kB / 1.311 GB, free: 14.1 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.563e-05/0.3489, allocations: 48.77 kB / 1.311 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.349, allocations: 0 / 1.311 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002628/0.3492, allocations: 107.2 kB / 1.311 GB, free: 13.93 MB / 1.014 GB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.3492, allocations: 0 / 1.311 GB, free: 13.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=11): time 0.0003564/0.3496, allocations: 141.6 kB / 1.311 GB, free: 13.79 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/0.3497, allocations: 63.34 kB / 1.311 GB, free: 13.71 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.3498, allocations: 121.8 kB / 1.311 GB, free: 13.58 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.3498, allocations: 25.7 kB / 1.311 GB, free: 13.55 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.622e-05/0.3499, allocations: 96.45 kB / 1.311 GB, free: 13.45 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/0.3499, allocations: 39.67 kB / 1.311 GB, free: 13.41 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.816e-05/0.35, allocations: 37.64 kB / 1.311 GB, free: 13.37 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3501, allocations: 322.8 kB / 1.312 GB, free: 13.04 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.033e-05/0.3502, allocations: 23.98 kB / 1.312 GB, free: 13.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.51e-05/0.3502, allocations: 27.98 kB / 1.312 GB, free: 12.99 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.3504, allocations: 64.84 kB / 1.312 GB, free: 12.93 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3504, allocations: 3.938 kB / 1.312 GB, free: 12.92 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001918/0.3505, allocations: 112.5 kB / 1.312 GB, free: 12.81 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.3506, allocations: 11.94 kB / 1.312 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.3506, allocations: 0 / 1.312 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.3506, allocations: 4 kB / 1.312 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.3507, allocations: 15.98 kB / 1.312 GB, free: 12.78 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.495e-06/0.3507, allocations: 4 kB / 1.312 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.3508, allocations: 15.92 kB / 1.312 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.3509, allocations: 4 kB / 1.312 GB, free: 12.75 MB / 1.014 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 0.000133/0.351, allocations: 117.8 kB / 1.312 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.351, allocations: 7.953 kB / 1.312 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000357/0.3514, allocations: 153.9 kB / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.3514, allocations: 0 / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3514, allocations: 0 / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.3514, allocations: 7.938 kB / 1.312 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.3516, allocations: 180.6 kB / 1.312 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.3516, allocations: 4 kB / 1.312 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.554e-05/0.3517, allocations: 15.98 kB / 1.312 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.3517, allocations: 0 / 1.312 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.3517, allocations: 4 kB / 1.312 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3517, allocations: 4 kB / 1.312 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.3517, allocations: 0 / 1.312 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.352, allocations: 172.9 kB / 1.312 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.413e-05/0.352, allocations: 11.94 kB / 1.312 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.352, allocations: 0 / 1.312 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.3522, allocations: 8 kB / 1.312 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.3522, allocations: 11.97 kB / 1.312 GB, free: 11.99 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.3522, allocations: 11.88 kB / 1.312 GB, free: 11.98 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.96e-05/0.3523, allocations: 100.1 kB / 1.313 GB, free: 11.88 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3523, allocations: 4 kB / 1.313 GB, free: 11.88 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002195/0.3525, allocations: 24 kB / 1.313 GB, free: 11.85 MB / 1.014 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 0.0001684/0.3527, allocations: 115.9 kB / 1.313 GB, free: 11.73 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002435/0.3529, allocations: 79.22 kB / 1.313 GB, free: 11.66 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3529, allocations: 0 / 1.313 GB, free: 11.66 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.3531, allocations: 51.92 kB / 1.313 GB, free: 11.61 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.3532, allocations: 4 kB / 1.313 GB, free: 11.6 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005487/0.3538, allocations: 218.4 kB / 1.313 GB, free: 11.36 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.3542, allocations: 0.6963 MB / 1.314 GB, free: 10.64 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.068e-05/0.3542, allocations: 8.484 kB / 1.314 GB, free: 10.63 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.478e-05/0.3543, allocations: 19.44 kB / 1.314 GB, free: 10.61 MB / 1.014 GB Notification: Performance of SimCode: time 2.8e-07/0.3543, allocations: 0 / 1.314 GB, free: 10.61 MB / 1.014 GB Notification: Performance of Templates: time 0.004613/0.3589, allocations: 1.154 MB / 1.315 GB, free: 9.469 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.145178110338748]