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.0009135/0.0009135, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008638/0.0008638, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8982/0.8982, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.696/1.696, allocations: 377.8 MB / 0.6229 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] 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.373e-06/1.373e-06, allocations: 0 / 0.9822 GB, free: 2.133 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.804e-05/2.942e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.125 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005221/0.00525, allocations: 4.393 MB / 0.9864 GB, free: 13.71 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.7217/0.7269, allocations: 132.7 MB / 1.116 GB, free: 20.53 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008935/0.7278, allocations: 23.78 kB / 1.116 GB, free: 20.52 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005886/0.7284, allocations: 205.2 kB / 1.116 GB, free: 20.38 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001545/0.73, allocations: 0.5839 MB / 1.117 GB, free: 20.04 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.7317, allocations: 0.8764 MB / 1.118 GB, free: 19.58 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001177/0.7328, allocations: 1.464 MB / 1.119 GB, free: 18.8 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005789/0.7334, allocations: 407.6 kB / 1.12 GB, free: 18.57 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007819/0.7342, allocations: 0.7399 MB / 1.12 GB, free: 18.21 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004528/0.7347, allocations: 411 kB / 1.121 GB, free: 18.06 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001526/0.7348, allocations: 125 kB / 1.121 GB, free: 18.06 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000857/0.7357, allocations: 0.5017 MB / 1.121 GB, free: 17.94 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002253/0.7359, allocations: 316.3 kB / 1.122 GB, free: 17.73 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003154/0.7362, allocations: 394.7 kB / 1.122 GB, free: 17.54 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001758/0.738, allocations: 1.825 MB / 1.124 GB, free: 16.77 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.738, allocations: 1.094 kB / 1.124 GB, free: 16.77 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.305e-06/0.738, allocations: 0 / 1.124 GB, free: 16.77 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.367e-05/0.738, allocations: 0 / 1.124 GB, free: 16.77 MB / 0.9948 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.001739/0.7397, allocations: 1.416 MB / 1.125 GB, free: 15.85 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.7398, allocations: 9.656 kB / 1.125 GB, free: 15.85 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008882/0.7407, allocations: 252.2 kB / 1.125 GB, free: 15.77 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009182/0.7416, allocations: 0.7218 MB / 1.126 GB, free: 15.32 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.15e-05/0.7416, allocations: 68.08 kB / 1.126 GB, free: 15.29 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.849e-05/0.7417, allocations: 90.42 kB / 1.126 GB, free: 15.26 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.7429, allocations: 1.193 MB / 1.127 GB, free: 14.51 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.7429, allocations: 7.922 kB / 1.127 GB, free: 14.5 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.724e-05/0.743, allocations: 38.52 kB / 1.127 GB, free: 14.48 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.743, allocations: 23.56 kB / 1.127 GB, free: 14.48 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.7443, allocations: 1.073 MB / 1.128 GB, free: 14.22 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002697/0.747, allocations: 2.236 MB / 1.131 GB, free: 12.91 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.7481, allocations: 0.8082 MB / 1.131 GB, free: 12.59 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000376/0.7485, allocations: 301.7 kB / 1.132 GB, free: 12.47 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.373e-05/0.7486, allocations: 22.53 kB / 1.132 GB, free: 12.47 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006731/0.7492, allocations: 0.6081 MB / 1.132 GB, free: 12.13 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=87): time 2.374e-06/0.7492, allocations: 0 / 1.132 GB, free: 12.13 MB / 0.9948 GB Notification: Performance of matching and sorting (n=87): time 0.001994/0.7512, allocations: 1.173 MB / 1.133 GB, free: 11.7 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.7513, allocations: 195.3 kB / 1.134 GB, free: 11.48 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006128/0.7519, allocations: 0.6019 MB / 1.134 GB, free: 11.2 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.872e-05/0.752, allocations: 49.53 kB / 1.134 GB, free: 11.16 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.7522, allocations: 402.4 kB / 1.135 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.7523, allocations: 288.6 kB / 1.135 GB, free: 10.61 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001889/0.7525, allocations: 181.1 kB / 1.135 GB, free: 10.53 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.082e-05/0.7526, allocations: 389 kB / 1.136 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003888/0.753, allocations: 292.7 kB / 1.136 GB, free: 10.08 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004934/0.7535, allocations: 0.5104 MB / 1.136 GB, free: 9.758 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000808/0.7543, allocations: 0.6561 MB / 1.137 GB, free: 9.445 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.7543, allocations: 0.8125 kB / 1.137 GB, free: 9.445 MB / 0.9948 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001373/0.7556, allocations: 0.9201 MB / 1.138 GB, free: 9.078 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.7557, allocations: 7.031 kB / 1.138 GB, free: 9.078 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.7557, allocations: 1.094 kB / 1.138 GB, free: 9.078 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003385/0.756, allocations: 83.8 kB / 1.138 GB, free: 9.059 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/0.7564, allocations: 166.3 kB / 1.138 GB, free: 9.043 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/0.7577, allocations: 1.515 MB / 1.14 GB, free: 7.664 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003786/0.758, allocations: 99.66 kB / 1.14 GB, free: 7.613 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.528e-05/0.7581, allocations: 43.62 kB / 1.14 GB, free: 7.602 MB / 0.9948 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.0002683/0.7584, allocations: 272.7 kB / 1.14 GB, free: 7.402 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.537e-05/0.7585, allocations: 88.53 kB / 1.14 GB, free: 7.355 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/0.76, allocations: 1.088 MB / 1.141 GB, free: 6.926 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/0.76, allocations: 14.39 kB / 1.141 GB, free: 6.922 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.76, allocations: 0 / 1.141 GB, free: 6.922 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.76, allocations: 5.344 kB / 1.141 GB, free: 6.922 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002398/0.7624, allocations: 1.917 MB / 1.143 GB, free: 5.988 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.7624, allocations: 0 / 1.143 GB, free: 5.988 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003387/0.7627, allocations: 148.4 kB / 1.143 GB, free: 5.977 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002326/0.763, allocations: 73.41 kB / 1.143 GB, free: 5.957 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.451e-05/0.763, allocations: 25.8 kB / 1.143 GB, free: 5.945 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009528/0.764, allocations: 1.54 MB / 1.145 GB, free: 4.547 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.764, allocations: 0 / 1.145 GB, free: 4.547 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.7652, allocations: 1.035 MB / 1.146 GB, free: 4.074 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002676/0.7655, allocations: 201.6 kB / 1.146 GB, free: 3.961 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.779e-05/0.7656, allocations: 24.67 kB / 1.146 GB, free: 3.945 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003171/0.7659, allocations: 64.64 kB / 1.146 GB, free: 3.93 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.766, allocations: 73.66 kB / 1.146 GB, free: 3.918 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.693e-05/0.7661, allocations: 40.45 kB / 1.146 GB, free: 3.906 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.000402/0.7665, allocations: 443.4 kB / 1.147 GB, free: 3.703 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.7665, allocations: 0 / 1.147 GB, free: 3.703 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0008226/0.7673, allocations: 339.1 kB / 1.147 GB, free: 3.609 MB / 0.9948 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.001111/0.7684, allocations: 0.658 MB / 1.148 GB, free: 3.355 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001177/0.7696, allocations: 0.8463 MB / 1.148 GB, free: 3.008 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.7696, allocations: 1.438 kB / 1.148 GB, free: 3.008 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005928/0.7702, allocations: 0.4991 MB / 1.149 GB, free: 2.77 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000774/0.771, allocations: 299.8 kB / 1.149 GB, free: 2.676 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/0.7731, allocations: 1.724 MB / 1.151 GB, free: 1.758 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.7736, allocations: 441.1 kB / 1.151 GB, free: 1.629 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002322/0.7738, allocations: 120.8 kB / 1.151 GB, free: 1.605 MB / 0.9948 GB Notification: Performance of SimCode: time 8.91e-07/0.7738, allocations: 3.938 kB / 1.151 GB, free: 1.602 MB / 0.9948 GB Notification: Performance of Templates: time 0.02137/0.7952, allocations: 19.37 MB / 1.17 GB, free: 13.33 MB / 1.01 GB " [Timeout remaining time 299] 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: 10.223657715134323]