Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002542/0.002542, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.486/1.486, allocations: 177.1 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.871/2.871, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.8108 GB, free: 2.152 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.074e-05/3.241e-05, allocations: 4.844 kB / 0.8108 GB, free: 2.148 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007785/0.007817, allocations: 4.4 MB / 0.8151 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1897/0.1976, allocations: 132.7 MB / 0.9447 GB, free: 8.551 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008083/0.1984, allocations: 23.81 kB / 0.9447 GB, free: 8.527 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0008595/0.1992, allocations: 198.1 kB / 0.9449 GB, free: 8.332 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.002237/0.2015, allocations: 0.567 MB / 0.9455 GB, free: 7.762 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002402/0.2039, allocations: 0.8685 MB / 0.9463 GB, free: 6.891 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0022/0.2061, allocations: 1.479 MB / 0.9478 GB, free: 5.402 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009749/0.207, allocations: 401.8 kB / 0.9481 GB, free: 4.992 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001541/0.2086, allocations: 0.7484 MB / 0.9489 GB, free: 4.242 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008744/0.2095, allocations: 410.8 kB / 0.9493 GB, free: 3.84 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0003095/0.2098, allocations: 124 kB / 0.9494 GB, free: 3.719 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.211, allocations: 0.4954 MB / 0.9499 GB, free: 3.223 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0004543/0.2115, allocations: 319 kB / 0.9502 GB, free: 2.91 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0008241/0.2123, allocations: 395 kB / 0.9505 GB, free: 2.523 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.002903/0.2152, allocations: 1.83 MB / 0.9523 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2152, allocations: 0 / 0.9523 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2152, allocations: 0 / 0.9523 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.34e-05/0.2153, allocations: 0 / 0.9523 GB, free: 0.6875 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.003549/0.2188, allocations: 1.415 MB / 0.9537 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.2189, allocations: 12.03 kB / 0.9537 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002051/0.2209, allocations: 355.4 kB / 0.9541 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/0.2227, allocations: 0.7531 MB / 0.9548 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.528e-05/0.2228, allocations: 74.12 kB / 0.9549 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/0.223, allocations: 88 kB / 0.955 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002314/0.2253, allocations: 1.189 MB / 0.9561 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.2253, allocations: 0 / 0.9561 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.2254, allocations: 39.98 kB / 0.9562 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.2254, allocations: 24 kB / 0.9562 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/0.2275, allocations: 1.065 MB / 0.9572 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005145/0.2327, allocations: 2.28 MB / 0.9594 GB, free: 9.184 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/0.2345, allocations: 0.8068 MB / 0.9602 GB, free: 8.375 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006711/0.2352, allocations: 302.7 kB / 0.9605 GB, free: 8.074 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.34e-05/0.2353, allocations: 28.64 kB / 0.9605 GB, free: 8.047 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001138/0.2364, allocations: 0.6086 MB / 0.9611 GB, free: 7.398 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=87): time 2.435e-06/0.2364, allocations: 0 / 0.9611 GB, free: 7.398 MB / 0.9167 GB Notification: Performance of matching and sorting (n=87): time 0.003684/0.2401, allocations: 1.196 MB / 0.9623 GB, free: 6.199 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001681/0.2403, allocations: 200.9 kB / 0.9625 GB, free: 5.957 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009876/0.2413, allocations: 0.6055 MB / 0.9631 GB, free: 5.344 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.847e-05/0.2414, allocations: 49.7 kB / 0.9631 GB, free: 5.289 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004335/0.2418, allocations: 397.3 kB / 0.9635 GB, free: 4.895 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003171/0.2421, allocations: 293.5 kB / 0.9638 GB, free: 4.605 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003267/0.2425, allocations: 178.6 kB / 0.964 GB, free: 4.426 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0004954/0.2429, allocations: 386.8 kB / 0.9643 GB, free: 4.039 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006812/0.2436, allocations: 293.8 kB / 0.9646 GB, free: 3.754 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009419/0.2446, allocations: 0.5113 MB / 0.9651 GB, free: 3.191 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.246, allocations: 0.6442 MB / 0.9657 GB, free: 2.539 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.246, allocations: 8 kB / 0.9658 GB, free: 2.531 MB / 0.9167 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002522/0.2485, allocations: 0.9507 MB / 0.9667 GB, free: 1.566 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.2485, allocations: 7.984 kB / 0.9667 GB, free: 1.559 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.2486, allocations: 4 kB / 0.9667 GB, free: 1.555 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/0.2496, allocations: 128.8 kB / 0.9668 GB, free: 1.426 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007805/0.2504, allocations: 167.7 kB / 0.967 GB, free: 1.262 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002543/0.253, allocations: 1.516 MB / 0.9685 GB, free: 15.64 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008508/0.2538, allocations: 92.22 kB / 0.9685 GB, free: 15.55 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.2539, allocations: 35.97 kB / 0.9686 GB, free: 15.52 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (106): * Single equations (assignments): 105 * 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.0005555/0.2545, allocations: 284.3 kB / 0.9689 GB, free: 15.23 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003079/0.2548, allocations: 115.4 kB / 0.969 GB, free: 15.11 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002849/0.2576, allocations: 1.093 MB / 0.97 GB, free: 14 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.2576, allocations: 8 kB / 0.97 GB, free: 13.99 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.2576, allocations: 7.922 kB / 0.97 GB, free: 13.98 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.2577, allocations: 3.984 kB / 0.97 GB, free: 13.98 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004409/0.2621, allocations: 1.915 MB / 0.9719 GB, free: 12.02 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.2621, allocations: 0 / 0.9719 GB, free: 12.02 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006453/0.2627, allocations: 147.7 kB / 0.9721 GB, free: 11.87 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008136/0.2635, allocations: 120.8 kB / 0.9722 GB, free: 11.75 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-05/0.2636, allocations: 35.91 kB / 0.9722 GB, free: 11.71 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002381/0.266, allocations: 1.532 MB / 0.9737 GB, free: 10.07 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.266, allocations: 0 / 0.9737 GB, free: 10.07 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002582/0.2686, allocations: 1.069 MB / 0.9747 GB, free: 8.984 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005183/0.2691, allocations: 203.1 kB / 0.9749 GB, free: 8.785 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/0.2693, allocations: 23.98 kB / 0.975 GB, free: 8.762 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00076/0.27, allocations: 63.09 kB / 0.975 GB, free: 8.703 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002091/0.2702, allocations: 80.8 kB / 0.9751 GB, free: 8.625 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.414e-05/0.2703, allocations: 43.97 kB / 0.9751 GB, free: 8.582 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0007313/0.2711, allocations: 435 kB / 0.9756 GB, free: 8.16 MB / 0.9323 GB Notification: Performance of sort global known variables: time 9e-08/0.2711, allocations: 0 / 0.9756 GB, free: 8.16 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001105/0.2722, allocations: 339.1 kB / 0.9759 GB, free: 7.828 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002575/0.2747, allocations: 0.6589 MB / 0.9765 GB, free: 7.367 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002071/0.2768, allocations: 0.8467 MB / 0.9774 GB, free: 6.508 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.2768, allocations: 7.938 kB / 0.9774 GB, free: 6.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.2779, allocations: 0.5002 MB / 0.9778 GB, free: 5.984 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.2793, allocations: 318.8 kB / 0.9782 GB, free: 5.695 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/0.283, allocations: 1.717 MB / 0.9798 GB, free: 3.945 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005627/0.2836, allocations: 440.4 kB / 0.9802 GB, free: 3.484 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0008718/0.2844, allocations: 266.6 kB / 0.9805 GB, free: 3.219 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003348/0.2848, allocations: 112.4 kB / 0.9806 GB, free: 3.109 MB / 0.9323 GB Notification: Performance of SimCode: time 7.92e-07/0.2848, allocations: 0 / 0.9806 GB, free: 3.109 MB / 0.9323 GB Notification: Performance of Templates: time 0.03148/0.3163, allocations: 15.79 MB / 0.996 GB, free: 3.598 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.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: 8.632212167023681]