Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001758/0.001758, allocations: 108.8 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.002054/0.002054, allocations: 186.5 kB / 22.22 MB, free: 5.16 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.522/1.522, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.867/2.867, allocations: 476.7 MB / 0.7646 GB, free: 9.883 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 71.83 kB / 1.11 GB, free: 6.332 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9185/0.9206, allocations: 168.8 MB / 1.274 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007733/0.9284, allocations: 4.84 MB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.193/1.121, allocations: 151.2 MB / 1.427 GB, free: 7.566 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000927/1.122, allocations: 27.81 kB / 1.427 GB, free: 7.539 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0007144/1.123, allocations: 186.3 kB / 1.427 GB, free: 7.355 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002044/1.125, allocations: 0.5493 MB / 1.427 GB, free: 6.809 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002487/1.128, allocations: 0.8592 MB / 1.428 GB, free: 5.953 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001894/1.129, allocations: 1.366 MB / 1.43 GB, free: 4.578 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007848/1.13, allocations: 401.8 kB / 1.43 GB, free: 4.16 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007794/1.131, allocations: 498.3 kB / 1.43 GB, free: 3.672 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006737/1.132, allocations: 0.4901 MB / 1.431 GB, free: 3.18 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001842/1.132, allocations: 112 kB / 1.431 GB, free: 3.07 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/1.133, allocations: 495.5 kB / 1.432 GB, free: 2.586 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003098/1.133, allocations: 287 kB / 1.432 GB, free: 2.305 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005456/1.134, allocations: 0.548 MB / 1.432 GB, free: 1.754 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001997/1.136, allocations: 1.618 MB / 1.434 GB, free: 136 kB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.136, allocations: 0 / 1.434 GB, free: 136 kB / 1.123 GB Notification: Performance of FrontEnd: time 1.443e-06/1.136, allocations: 0 / 1.434 GB, free: 136 kB / 1.123 GB Notification: Performance of Transformations before backend: time 1.458e-05/1.136, allocations: 0 / 1.434 GB, free: 136 kB / 1.123 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.002771/1.139, allocations: 1.383 MB / 1.435 GB, free: 14.71 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/1.139, allocations: 12.03 kB / 1.435 GB, free: 14.7 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009663/1.14, allocations: 184.1 kB / 1.435 GB, free: 14.52 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/1.141, allocations: 0.6785 MB / 1.436 GB, free: 13.82 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.783e-05/1.141, allocations: 70 kB / 1.436 GB, free: 13.75 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/1.141, allocations: 83.92 kB / 1.436 GB, free: 13.67 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/1.143, allocations: 0.9028 MB / 1.437 GB, free: 12.72 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/1.143, allocations: 0 / 1.437 GB, free: 12.72 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-05/1.143, allocations: 36 kB / 1.437 GB, free: 12.69 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/1.143, allocations: 20 kB / 1.437 GB, free: 12.67 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/1.145, allocations: 1.089 MB / 1.438 GB, free: 11.58 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004324/1.149, allocations: 2.623 MB / 1.441 GB, free: 8.836 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/1.151, allocations: 0.7416 MB / 1.442 GB, free: 8.094 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005451/1.151, allocations: 278.7 kB / 1.442 GB, free: 7.812 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.245e-05/1.151, allocations: 32.61 kB / 1.442 GB, free: 7.781 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009078/1.152, allocations: 487.1 kB / 1.442 GB, free: 7.285 MB / 1.139 GB Notification: Performance of pre-optimization done (n=79): time 2.334e-06/1.152, allocations: 0 / 1.442 GB, free: 7.285 MB / 1.139 GB Notification: Performance of matching and sorting (n=79): time 0.003328/1.156, allocations: 1.109 MB / 1.443 GB, free: 6.172 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/1.156, allocations: 188.6 kB / 1.444 GB, free: 5.945 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009525/1.157, allocations: 0.6292 MB / 1.444 GB, free: 5.309 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.268e-05/1.157, allocations: 37.7 kB / 1.444 GB, free: 5.266 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004169/1.157, allocations: 401 kB / 1.445 GB, free: 4.867 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002772/1.157, allocations: 269.7 kB / 1.445 GB, free: 4.602 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002789/1.158, allocations: 166.5 kB / 1.445 GB, free: 4.434 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002153/1.158, allocations: 386.7 kB / 1.445 GB, free: 4.047 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000572/1.158, allocations: 265.9 kB / 1.446 GB, free: 3.789 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007251/1.159, allocations: 363.1 kB / 1.446 GB, free: 3.418 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/1.16, allocations: 0.5955 MB / 1.447 GB, free: 2.812 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.16, allocations: 0 / 1.447 GB, free: 2.812 MB / 1.139 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002198/1.163, allocations: 0.8414 MB / 1.447 GB, free: 1.957 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/1.163, allocations: 8 kB / 1.447 GB, free: 1.949 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/1.163, allocations: 0 / 1.447 GB, free: 1.949 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006171/1.163, allocations: 88.8 kB / 1.447 GB, free: 1.859 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006687/1.164, allocations: 151.8 kB / 1.448 GB, free: 1.711 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002303/1.166, allocations: 1.531 MB / 1.449 GB, free: 64 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008081/1.167, allocations: 93.59 kB / 1.449 GB, free: 15.97 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-05/1.167, allocations: 39.91 kB / 1.449 GB, free: 15.93 MB / 1.154 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.000525/1.168, allocations: 273.8 kB / 1.449 GB, free: 15.66 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/1.168, allocations: 87.47 kB / 1.45 GB, free: 15.57 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002525/1.17, allocations: 1.05 MB / 1.451 GB, free: 14.5 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/1.17, allocations: 8 kB / 1.451 GB, free: 14.5 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/1.17, allocations: 48 / 1.451 GB, free: 14.5 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.253e-05/1.17, allocations: 15.84 kB / 1.451 GB, free: 14.48 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003487/1.174, allocations: 1.875 MB / 1.452 GB, free: 12.56 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/1.174, allocations: 0 / 1.452 GB, free: 12.56 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005976/1.174, allocations: 143.8 kB / 1.453 GB, free: 12.42 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004807/1.175, allocations: 76.78 kB / 1.453 GB, free: 12.34 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.904e-05/1.175, allocations: 23.98 kB / 1.453 GB, free: 12.32 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002103/1.177, allocations: 1.555 MB / 1.454 GB, free: 10.64 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.177, allocations: 0 / 1.454 GB, free: 10.64 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002212/1.179, allocations: 0.9867 MB / 1.455 GB, free: 9.629 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004166/1.18, allocations: 191.1 kB / 1.455 GB, free: 9.441 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/1.18, allocations: 24.06 kB / 1.455 GB, free: 9.418 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006921/1.181, allocations: 63.92 kB / 1.455 GB, free: 9.355 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/1.181, allocations: 76.86 kB / 1.456 GB, free: 9.281 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.179e-05/1.181, allocations: 31.98 kB / 1.456 GB, free: 9.25 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006366/1.181, allocations: 451 kB / 1.456 GB, free: 8.812 MB / 1.154 GB Notification: Performance of sort global known variables: time 6e-08/1.181, allocations: 0 / 1.456 GB, free: 8.812 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0008971/1.182, allocations: 319.2 kB / 1.456 GB, free: 8.5 MB / 1.154 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.001955/1.184, allocations: 0.6159 MB / 1.457 GB, free: 8.059 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001835/1.186, allocations: 0.8039 MB / 1.458 GB, free: 7.242 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/1.186, allocations: 0 / 1.458 GB, free: 7.242 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/1.187, allocations: 484.2 kB / 1.458 GB, free: 6.754 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/1.188, allocations: 309.8 kB / 1.458 GB, free: 6.473 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003229/1.192, allocations: 1.635 MB / 1.46 GB, free: 4.812 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007585/1.192, allocations: 1.015 MB / 1.461 GB, free: 3.77 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008463/1.193, allocations: 258.5 kB / 1.461 GB, free: 3.512 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002793/1.194, allocations: 103.4 kB / 1.461 GB, free: 3.41 MB / 1.154 GB Notification: Performance of SimCode: time 9.12e-07/1.194, allocations: 0 / 1.461 GB, free: 3.41 MB / 1.154 GB Notification: Performance of Templates: time 0.03048/1.224, allocations: 15.62 MB / 1.477 GB, free: 3.969 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.994508088566363]