Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.001318/0.001318, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001401/0.001401, allocations: 188.4 kB / 22.23 MB, free: 5.137 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.432/1.432, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.143/3.143, allocations: 496 MB / 0.7835 GB, free: 33.66 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-maint.12.x/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.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 70.55 kB / 1.138 GB, free: 33.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3742, allocations: 173.6 MB / 1.307 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.00716/0.3814, allocations: 4.843 MB / 1.312 GB, free: 12.98 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1886/0.57, allocations: 151.2 MB / 1.46 GB, free: 5.203 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008313/0.5708, allocations: 23.81 kB / 1.46 GB, free: 5.18 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007833/0.5716, allocations: 194.2 kB / 1.46 GB, free: 4.988 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002165/0.5738, allocations: 0.5391 MB / 1.46 GB, free: 4.449 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002321/0.5761, allocations: 0.865 MB / 1.461 GB, free: 3.59 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001974/0.5781, allocations: 1.362 MB / 1.463 GB, free: 2.223 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007751/0.5788, allocations: 413.8 kB / 1.463 GB, free: 1.789 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007417/0.5796, allocations: 494.4 kB / 1.463 GB, free: 1.305 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006936/0.5803, allocations: 0.4901 MB / 1.464 GB, free: 0.8125 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001777/0.5804, allocations: 112 kB / 1.464 GB, free: 0.7031 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009925/0.5814, allocations: 487.6 kB / 1.464 GB, free: 232 kB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003192/0.5818, allocations: 291 kB / 1.465 GB, free: 15.94 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000562/0.5823, allocations: 0.548 MB / 1.465 GB, free: 15.39 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002149/0.5845, allocations: 1.615 MB / 1.467 GB, free: 13.77 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.5845, allocations: 4 kB / 1.467 GB, free: 13.77 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5845, allocations: 0 / 1.467 GB, free: 13.77 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.648e-05/0.5845, allocations: 0 / 1.467 GB, free: 13.77 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002811/0.5873, allocations: 1.372 MB / 1.468 GB, free: 12.36 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.5873, allocations: 12.92 kB / 1.468 GB, free: 12.35 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.5884, allocations: 196.1 kB / 1.468 GB, free: 12.16 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.5896, allocations: 0.6824 MB / 1.469 GB, free: 11.45 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.584e-05/0.5897, allocations: 65.94 kB / 1.469 GB, free: 11.39 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.5898, allocations: 83.98 kB / 1.469 GB, free: 11.3 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/0.5916, allocations: 0.9066 MB / 1.47 GB, free: 10.36 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.5916, allocations: 0 / 1.47 GB, free: 10.36 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.15e-05/0.5917, allocations: 36 kB / 1.47 GB, free: 10.32 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.998e-05/0.5917, allocations: 20 kB / 1.47 GB, free: 10.3 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001983/0.5937, allocations: 1.093 MB / 1.471 GB, free: 9.211 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004619/0.5983, allocations: 2.658 MB / 1.474 GB, free: 6.422 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/0.6, allocations: 0.7455 MB / 1.475 GB, free: 5.664 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000582/0.6006, allocations: 274.7 kB / 1.475 GB, free: 5.395 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.405e-05/0.6006, allocations: 32.61 kB / 1.475 GB, free: 5.363 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009758/0.6016, allocations: 490.5 kB / 1.475 GB, free: 4.867 MB / 1.17 GB Notification: Performance of pre-optimization done (n=79): time 2.144e-06/0.6016, allocations: 0 / 1.475 GB, free: 4.867 MB / 1.17 GB Notification: Performance of matching and sorting (n=79): time 0.003486/0.6051, allocations: 1.113 MB / 1.476 GB, free: 3.746 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/0.6053, allocations: 196.5 kB / 1.477 GB, free: 3.512 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009412/0.6062, allocations: 0.6253 MB / 1.477 GB, free: 2.879 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.715e-05/0.6063, allocations: 41.7 kB / 1.477 GB, free: 2.832 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003756/0.6066, allocations: 397 kB / 1.478 GB, free: 2.438 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002509/0.6069, allocations: 269.7 kB / 1.478 GB, free: 2.172 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002929/0.6072, allocations: 166.5 kB / 1.478 GB, free: 2 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002166/0.6074, allocations: 390.6 kB / 1.478 GB, free: 1.609 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006069/0.608, allocations: 265.9 kB / 1.479 GB, free: 1.352 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006843/0.6087, allocations: 359.1 kB / 1.479 GB, free: 0.9883 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/0.6099, allocations: 0.5994 MB / 1.48 GB, free: 384 kB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.6099, allocations: 0 / 1.48 GB, free: 384 kB / 1.17 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002194/0.6121, allocations: 0.8336 MB / 1.48 GB, free: 15.53 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.6121, allocations: 8 kB / 1.48 GB, free: 15.52 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.6121, allocations: 0 / 1.48 GB, free: 15.52 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006315/0.6128, allocations: 88.8 kB / 1.48 GB, free: 15.43 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006817/0.6135, allocations: 159.8 kB / 1.481 GB, free: 15.28 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002621/0.6161, allocations: 1.528 MB / 1.482 GB, free: 13.63 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008485/0.6169, allocations: 93.5 kB / 1.482 GB, free: 13.54 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.021e-05/0.617, allocations: 40.03 kB / 1.482 GB, free: 13.5 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005772/0.6176, allocations: 267.3 kB / 1.483 GB, free: 13.23 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.6178, allocations: 87.47 kB / 1.483 GB, free: 13.14 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002737/0.6205, allocations: 1.05 MB / 1.484 GB, free: 12.08 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.6205, allocations: 8 kB / 1.484 GB, free: 12.07 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.6205, allocations: 0 / 1.484 GB, free: 12.07 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.6205, allocations: 7.922 kB / 1.484 GB, free: 12.06 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003775/0.6243, allocations: 1.876 MB / 1.485 GB, free: 10.14 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.6243, allocations: 0 / 1.485 GB, free: 10.14 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000617/0.6249, allocations: 147.8 kB / 1.486 GB, free: 9.992 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004829/0.6254, allocations: 68.78 kB / 1.486 GB, free: 9.922 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.42e-05/0.6255, allocations: 23.98 kB / 1.486 GB, free: 9.898 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00223/0.6277, allocations: 1.562 MB / 1.487 GB, free: 8.215 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6277, allocations: 0 / 1.487 GB, free: 8.215 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002333/0.6301, allocations: 0.9867 MB / 1.488 GB, free: 7.207 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005475/0.6306, allocations: 187.1 kB / 1.488 GB, free: 7.023 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.6308, allocations: 24 kB / 1.488 GB, free: 7 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006906/0.6314, allocations: 68 kB / 1.488 GB, free: 6.934 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001767/0.6316, allocations: 80.78 kB / 1.489 GB, free: 6.855 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.703e-05/0.6317, allocations: 35.98 kB / 1.489 GB, free: 6.82 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006426/0.6323, allocations: 447 kB / 1.489 GB, free: 6.387 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6323, allocations: 0 / 1.489 GB, free: 6.387 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009583/0.6333, allocations: 323.2 kB / 1.489 GB, free: 6.07 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002022/0.6353, allocations: 0.6006 MB / 1.49 GB, free: 5.645 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001987/0.6373, allocations: 0.7923 MB / 1.491 GB, free: 4.84 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.6373, allocations: 0 / 1.491 GB, free: 4.84 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.6383, allocations: 496.2 kB / 1.491 GB, free: 4.344 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/0.6398, allocations: 313.6 kB / 1.491 GB, free: 4.059 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003243/0.643, allocations: 1.637 MB / 1.493 GB, free: 2.391 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007135/0.6437, allocations: 1.012 MB / 1.494 GB, free: 1.352 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0008265/0.6445, allocations: 262.5 kB / 1.494 GB, free: 1.09 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002915/0.6448, allocations: 111.3 kB / 1.494 GB, free: 0.9805 MB / 1.186 GB Notification: Performance of SimCode: time 7.11e-07/0.6448, allocations: 0 / 1.494 GB, free: 0.9805 MB / 1.186 GB Notification: Performance of Templates: time 0.02994/0.6748, allocations: 15.63 MB / 1.51 GB, free: 1.531 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.772555386647582]