Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.001703/0.001703, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.002096/0.002096, allocations: 192.6 kB / 22.11 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.62/1.62, allocations: 225.6 MB / 250.8 MB, free: 13.05 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.137/3.137, allocations: 495.8 MB / 0.783 GB, free: 33.76 MB / 0.6231 GB " [Timeout remaining time 177] 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.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.zen",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.zen",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 73.09 kB / 1.137 GB, free: 33.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3588, allocations: 173.6 MB / 1.307 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.00742/0.3663, allocations: 4.956 MB / 1.312 GB, free: 12.87 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1941/0.5604, allocations: 149.6 MB / 1.458 GB, free: 6.672 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.5615, allocations: 23.81 kB / 1.458 GB, free: 6.648 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006677/0.5622, allocations: 206.2 kB / 1.458 GB, free: 6.445 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001822/0.564, allocations: 0.551 MB / 1.458 GB, free: 5.895 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00205/0.566, allocations: 0.8673 MB / 1.459 GB, free: 5.031 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00167/0.5677, allocations: 1.436 MB / 1.461 GB, free: 3.59 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007544/0.5684, allocations: 425.8 kB / 1.461 GB, free: 3.145 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007271/0.5692, allocations: 0.5101 MB / 1.462 GB, free: 2.633 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006729/0.5698, allocations: 0.5173 MB / 1.462 GB, free: 2.113 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000181/0.57, allocations: 116 kB / 1.462 GB, free: 2 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009501/0.571, allocations: 483.6 kB / 1.463 GB, free: 1.527 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003127/0.5713, allocations: 307 kB / 1.463 GB, free: 1.227 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005661/0.5719, allocations: 0.5752 MB / 1.464 GB, free: 0.6484 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002107/0.574, allocations: 1.662 MB / 1.465 GB, free: 14.98 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.574, allocations: 0 / 1.465 GB, free: 14.98 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.634e-06/0.574, allocations: 0 / 1.465 GB, free: 14.98 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.461e-05/0.574, allocations: 0 / 1.465 GB, free: 14.98 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002887/0.5769, allocations: 1.425 MB / 1.467 GB, free: 13.52 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.723e-05/0.5769, allocations: 16.86 kB / 1.467 GB, free: 13.51 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.578, allocations: 192.1 kB / 1.467 GB, free: 13.32 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.5793, allocations: 0.7065 MB / 1.467 GB, free: 12.59 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.461e-05/0.5794, allocations: 69.98 kB / 1.467 GB, free: 12.52 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.5795, allocations: 84 kB / 1.468 GB, free: 12.43 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/0.5813, allocations: 0.934 MB / 1.468 GB, free: 11.46 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.5813, allocations: 7.938 kB / 1.468 GB, free: 11.45 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.542e-05/0.5814, allocations: 39.94 kB / 1.469 GB, free: 11.41 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/0.5814, allocations: 20 kB / 1.469 GB, free: 11.39 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001992/0.5834, allocations: 1.128 MB / 1.47 GB, free: 10.27 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004591/0.588, allocations: 2.709 MB / 1.472 GB, free: 7.43 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.5897, allocations: 0.7879 MB / 1.473 GB, free: 6.629 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000584/0.5903, allocations: 285.9 kB / 1.473 GB, free: 6.352 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.695e-05/0.5904, allocations: 36.67 kB / 1.473 GB, free: 6.316 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009873/0.5914, allocations: 0.516 MB / 1.474 GB, free: 5.781 MB / 1.17 GB Notification: Performance of pre-optimization done (n=84): time 2.345e-06/0.5914, allocations: 0 / 1.474 GB, free: 5.781 MB / 1.17 GB Notification: Performance of matching and sorting (n=84): time 0.003577/0.5949, allocations: 1.172 MB / 1.475 GB, free: 4.598 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/0.5951, allocations: 196.9 kB / 1.475 GB, free: 4.363 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009418/0.596, allocations: 0.6487 MB / 1.476 GB, free: 3.703 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.882e-05/0.5961, allocations: 41.7 kB / 1.476 GB, free: 3.656 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003737/0.5965, allocations: 409.1 kB / 1.476 GB, free: 3.25 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002602/0.5967, allocations: 285.6 kB / 1.477 GB, free: 2.969 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002765/0.597, allocations: 170.6 kB / 1.477 GB, free: 2.797 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000201/0.5972, allocations: 390.8 kB / 1.477 GB, free: 2.406 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005911/0.5978, allocations: 277.8 kB / 1.477 GB, free: 2.133 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007064/0.5985, allocations: 371.1 kB / 1.478 GB, free: 1.758 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.5998, allocations: 0.6281 MB / 1.478 GB, free: 1.117 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.5998, allocations: 0 / 1.478 GB, free: 1.117 MB / 1.17 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.00216/0.602, allocations: 0.8804 MB / 1.479 GB, free: 232 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.602, allocations: 7.938 kB / 1.479 GB, free: 224 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.602, allocations: 11.97 kB / 1.479 GB, free: 212 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006311/0.6026, allocations: 80.77 kB / 1.479 GB, free: 128 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007465/0.6034, allocations: 167.8 kB / 1.479 GB, free: 15.96 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00227/0.6056, allocations: 1.524 MB / 1.481 GB, free: 14.32 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008421/0.6065, allocations: 99.59 kB / 1.481 GB, free: 14.22 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.222e-05/0.6066, allocations: 39.97 kB / 1.481 GB, free: 14.18 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: 20 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * 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.0005066/0.6071, allocations: 271.8 kB / 1.481 GB, free: 13.91 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.6073, allocations: 91.42 kB / 1.481 GB, free: 13.82 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00272/0.61, allocations: 1.14 MB / 1.482 GB, free: 12.66 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.61, allocations: 11.94 kB / 1.483 GB, free: 12.65 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.61, allocations: 0 / 1.483 GB, free: 12.65 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.61, allocations: 7.984 kB / 1.483 GB, free: 12.64 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003797/0.6138, allocations: 1.989 MB / 1.484 GB, free: 10.6 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-06/0.6138, allocations: 0 / 1.484 GB, free: 10.6 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006472/0.6144, allocations: 151.8 kB / 1.485 GB, free: 10.45 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004651/0.6149, allocations: 72.78 kB / 1.485 GB, free: 10.38 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.868e-05/0.615, allocations: 27.97 kB / 1.485 GB, free: 10.35 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002101/0.6171, allocations: 1.558 MB / 1.486 GB, free: 8.672 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6171, allocations: 0 / 1.486 GB, free: 8.672 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002401/0.6195, allocations: 1.057 MB / 1.487 GB, free: 7.598 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005069/0.62, allocations: 203.1 kB / 1.487 GB, free: 7.398 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/0.6201, allocations: 28 kB / 1.487 GB, free: 7.371 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000716/0.6208, allocations: 67.92 kB / 1.488 GB, free: 7.305 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/0.621, allocations: 80.84 kB / 1.488 GB, free: 7.223 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-05/0.6211, allocations: 35.97 kB / 1.488 GB, free: 7.188 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000655/0.6218, allocations: 467 kB / 1.488 GB, free: 6.738 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.6218, allocations: 0 / 1.488 GB, free: 6.738 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000971/0.6227, allocations: 339.1 kB / 1.488 GB, free: 6.406 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.00203/0.6248, allocations: 0.6154 MB / 1.489 GB, free: 5.965 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001947/0.6267, allocations: 0.8274 MB / 1.49 GB, free: 5.129 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6267, allocations: 4 kB / 1.49 GB, free: 5.125 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.6278, allocations: 0.5119 MB / 1.49 GB, free: 4.602 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/0.6292, allocations: 306.4 kB / 1.491 GB, free: 4.324 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003669/0.6329, allocations: 1.715 MB / 1.492 GB, free: 2.57 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000865/0.6338, allocations: 1.037 MB / 1.493 GB, free: 1.504 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009032/0.6347, allocations: 266.9 kB / 1.494 GB, free: 1.238 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000345/0.635, allocations: 111.4 kB / 1.494 GB, free: 1.129 MB / 1.186 GB Notification: Performance of SimCode: time 1.102e-06/0.635, allocations: 0 / 1.494 GB, free: 1.129 MB / 1.186 GB Notification: Performance of Templates: time 0.03194/0.6669, allocations: 16.33 MB / 1.51 GB, free: 0.9727 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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: 10.120874762535095]