Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.002032/0.002032, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.002407/0.002407, allocations: 199.3 kB / 22.17 MB, free: 5.211 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 / 250.9 MB, free: 13.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.664/2.664, allocations: 443.5 MB / 0.732 GB, free: 12.52 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 67.89 kB / 1.061 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7485/0.7505, allocations: 160.7 MB / 1.218 GB, free: 4.094 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007412/0.7579, allocations: 4.852 MB / 1.223 GB, free: 276 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1835/0.9414, allocations: 151.2 MB / 1.371 GB, free: 10.98 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009307/0.9424, allocations: 19.94 kB / 1.371 GB, free: 10.96 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000749/0.9431, allocations: 194.2 kB / 1.371 GB, free: 10.77 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002055/0.9452, allocations: 0.5478 MB / 1.371 GB, free: 10.23 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002254/0.9474, allocations: 0.8421 MB / 1.372 GB, free: 9.391 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001758/0.9492, allocations: 1.362 MB / 1.373 GB, free: 8.02 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007263/0.9499, allocations: 402.8 kB / 1.374 GB, free: 7.602 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006572/0.9506, allocations: 490.3 kB / 1.374 GB, free: 7.121 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006559/0.9512, allocations: 497.8 kB / 1.375 GB, free: 6.633 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001608/0.9514, allocations: 116 kB / 1.375 GB, free: 6.52 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009839/0.9524, allocations: 491.5 kB / 1.375 GB, free: 6.039 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002875/0.9527, allocations: 287 kB / 1.376 GB, free: 5.758 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005491/0.9532, allocations: 0.548 MB / 1.376 GB, free: 5.207 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002034/0.9552, allocations: 1.619 MB / 1.378 GB, free: 3.582 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.9553, allocations: 0 / 1.378 GB, free: 3.582 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.192e-06/0.9553, allocations: 0 / 1.378 GB, free: 3.582 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.436e-05/0.9553, allocations: 0 / 1.378 GB, free: 3.582 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002688/0.958, allocations: 1.452 MB / 1.379 GB, free: 2.078 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.958, allocations: 8.922 kB / 1.379 GB, free: 2.07 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009831/0.959, allocations: 184.1 kB / 1.379 GB, free: 1.891 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.9603, allocations: 0.7584 MB / 1.38 GB, free: 1.086 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.529e-05/0.9604, allocations: 62 kB / 1.38 GB, free: 1.027 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.9605, allocations: 76 kB / 1.38 GB, free: 0.9531 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.9621, allocations: 0.9105 MB / 1.381 GB, free: 0 / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.9621, allocations: 0 / 1.381 GB, free: 0 / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.868e-05/0.9622, allocations: 40.11 kB / 1.381 GB, free: 15.96 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/0.9622, allocations: 23.94 kB / 1.381 GB, free: 15.93 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001897/0.9641, allocations: 1.1 MB / 1.382 GB, free: 14.83 MB / 1.092 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.004292/0.9684, allocations: 2.654 MB / 1.385 GB, free: 12.06 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/0.97, allocations: 0.8184 MB / 1.386 GB, free: 11.22 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00056/0.9706, allocations: 284.1 kB / 1.386 GB, free: 10.94 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.251e-05/0.9707, allocations: 28.61 kB / 1.386 GB, free: 10.91 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009131/0.9716, allocations: 495.2 kB / 1.386 GB, free: 10.41 MB / 1.092 GB Notification: Performance of pre-optimization done (n=79): time 4.328e-06/0.9716, allocations: 3.984 kB / 1.386 GB, free: 10.41 MB / 1.092 GB Notification: Performance of matching and sorting (n=79): time 0.003364/0.9749, allocations: 1.182 MB / 1.388 GB, free: 9.195 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.9751, allocations: 192.6 kB / 1.388 GB, free: 8.965 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008545/0.9759, allocations: 0.6214 MB / 1.388 GB, free: 8.34 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 7.537e-05/0.976, allocations: 45.52 kB / 1.388 GB, free: 8.293 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003653/0.9764, allocations: 397 kB / 1.389 GB, free: 7.898 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002467/0.9766, allocations: 269.7 kB / 1.389 GB, free: 7.633 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002653/0.9769, allocations: 162.6 kB / 1.389 GB, free: 7.465 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002137/0.9771, allocations: 386.7 kB / 1.39 GB, free: 7.078 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005631/0.9777, allocations: 265.9 kB / 1.39 GB, free: 6.82 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006653/0.9783, allocations: 355.1 kB / 1.39 GB, free: 6.461 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.9795, allocations: 0.5994 MB / 1.391 GB, free: 5.848 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.9795, allocations: 0 / 1.391 GB, free: 5.848 MB / 1.092 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002095/0.9816, allocations: 0.8492 MB / 1.392 GB, free: 4.988 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.9816, allocations: 4 kB / 1.392 GB, free: 4.984 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.9817, allocations: 0 / 1.392 GB, free: 4.984 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005903/0.9822, allocations: 84.88 kB / 1.392 GB, free: 4.898 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006838/0.9829, allocations: 159.8 kB / 1.392 GB, free: 4.742 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002264/0.9852, allocations: 1.626 MB / 1.393 GB, free: 2.965 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007398/0.9859, allocations: 91.45 kB / 1.393 GB, free: 2.875 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.37e-05/0.986, allocations: 39.97 kB / 1.394 GB, free: 2.836 MB / 1.092 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.0004358/0.9864, allocations: 267.6 kB / 1.394 GB, free: 2.566 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/0.9866, allocations: 83.48 kB / 1.394 GB, free: 2.484 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002443/0.989, allocations: 1.058 MB / 1.395 GB, free: 1.41 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.9891, allocations: 8 kB / 1.395 GB, free: 1.402 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.9891, allocations: 0 / 1.395 GB, free: 1.402 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.9891, allocations: 11.86 kB / 1.395 GB, free: 1.391 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003509/0.9926, allocations: 1.9 MB / 1.397 GB, free: 15.43 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.9926, allocations: 0 / 1.397 GB, free: 15.43 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005945/0.9932, allocations: 147.8 kB / 1.397 GB, free: 15.29 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004487/0.9936, allocations: 68.8 kB / 1.397 GB, free: 15.21 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.328e-05/0.9937, allocations: 23.97 kB / 1.397 GB, free: 15.19 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002232/0.9959, allocations: 1.666 MB / 1.399 GB, free: 13.38 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.9959, allocations: 4.062 kB / 1.399 GB, free: 13.38 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002166/0.9981, allocations: 0.9866 MB / 1.4 GB, free: 12.37 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004558/0.9985, allocations: 268.2 kB / 1.4 GB, free: 12.09 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.9987, allocations: 27.98 kB / 1.4 GB, free: 12.06 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006506/0.9993, allocations: 59.94 kB / 1.4 GB, free: 12 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.9995, allocations: 72.89 kB / 1.4 GB, free: 11.93 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.2e-05/0.9996, allocations: 31.98 kB / 1.4 GB, free: 11.9 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0006248/1, allocations: 455 kB / 1.4 GB, free: 11.46 MB / 1.107 GB Notification: Performance of sort global known variables: time 7e-08/1, allocations: 0 / 1.4 GB, free: 11.46 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0009067/1.001, allocations: 315.2 kB / 1.401 GB, free: 11.15 MB / 1.107 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.002013/1.003, allocations: 0.6129 MB / 1.401 GB, free: 10.72 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001928/1.005, allocations: 0.7962 MB / 1.402 GB, free: 9.91 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/1.005, allocations: 4 kB / 1.402 GB, free: 9.906 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0009494/1.006, allocations: 480.3 kB / 1.403 GB, free: 9.426 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/1.007, allocations: 306.2 kB / 1.403 GB, free: 9.145 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003193/1.01, allocations: 1.657 MB / 1.405 GB, free: 7.461 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007003/1.011, allocations: 1.011 MB / 1.405 GB, free: 6.422 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0007592/1.012, allocations: 258.6 kB / 1.406 GB, free: 6.164 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002553/1.012, allocations: 107.4 kB / 1.406 GB, free: 6.059 MB / 1.107 GB Notification: Performance of SimCode: time 6.82e-07/1.012, allocations: 0 / 1.406 GB, free: 6.059 MB / 1.107 GB Notification: Performance of Templates: time 0.02791/1.04, allocations: 15.42 MB / 1.421 GB, free: 6.777 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.224163728300482]