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.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.00137/0.00137, allocations: 79.5 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001457/0.001457, allocations: 158.9 kB / 23.01 MB, free: 4.945 MB / 14.72 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.443/1.443, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.907/2.907, allocations: 377.9 MB / 0.6228 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00239/0.00239, allocations: 63.89 kB / 0.9819 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051/1.054, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005918/1.06, allocations: 4.475 MB / 1.158 GB, free: 30.34 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1734/1.233, allocations: 132.7 MB / 1.288 GB, free: 4.871 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009729/1.234, allocations: 23.84 kB / 1.288 GB, free: 4.859 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006735/1.235, allocations: 199.9 kB / 1.288 GB, free: 4.723 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002104/1.237, allocations: 0.569 MB / 1.289 GB, free: 4.383 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00241/1.239, allocations: 0.8791 MB / 1.289 GB, free: 3.902 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002083/1.241, allocations: 1.459 MB / 1.291 GB, free: 3.141 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007532/1.242, allocations: 398.8 kB / 1.291 GB, free: 2.906 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008937/1.243, allocations: 0.5273 MB / 1.292 GB, free: 2.648 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007489/1.244, allocations: 483.8 kB / 1.292 GB, free: 2.426 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001767/1.244, allocations: 120.6 kB / 1.292 GB, free: 2.426 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/1.245, allocations: 495.7 kB / 1.293 GB, free: 2.312 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003401/1.245, allocations: 316.7 kB / 1.293 GB, free: 2.109 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005366/1.246, allocations: 479.4 kB / 1.294 GB, free: 1.832 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002398/1.248, allocations: 1.724 MB / 1.295 GB, free: 1.102 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.248, allocations: 1.438 kB / 1.295 GB, free: 1.102 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.002e-06/1.248, allocations: 3.938 kB / 1.295 GB, free: 1.098 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.043e-05/1.248, allocations: 0 / 1.295 GB, free: 1.098 MB / 1.139 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.003035/1.251, allocations: 1.451 MB / 1.297 GB, free: 156 kB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/1.251, allocations: 8.906 kB / 1.297 GB, free: 156 kB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001822/1.253, allocations: 253.9 kB / 1.297 GB, free: 80 kB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/1.255, allocations: 0.7223 MB / 1.298 GB, free: 15.62 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.059e-05/1.255, allocations: 65.67 kB / 1.298 GB, free: 15.59 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/1.255, allocations: 83.86 kB / 1.298 GB, free: 15.57 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001817/1.257, allocations: 1.197 MB / 1.299 GB, free: 14.69 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/1.257, allocations: 0 / 1.299 GB, free: 14.69 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.113e-05/1.257, allocations: 37.22 kB / 1.299 GB, free: 14.66 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/1.257, allocations: 21.16 kB / 1.299 GB, free: 14.66 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001821/1.259, allocations: 1.079 MB / 1.3 GB, free: 14.12 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005125/1.264, allocations: 2.127 MB / 1.302 GB, free: 12.54 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002012/1.266, allocations: 0.7774 MB / 1.303 GB, free: 12.13 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006198/1.266, allocations: 285.3 kB / 1.303 GB, free: 11.98 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.612e-05/1.267, allocations: 27.66 kB / 1.303 GB, free: 11.97 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001046/1.268, allocations: 0.6139 MB / 1.304 GB, free: 11.52 MB / 1.154 GB Notification: Performance of pre-optimization done (n=84): time 3.426e-06/1.268, allocations: 1.125 kB / 1.304 GB, free: 11.52 MB / 1.154 GB Notification: Performance of matching and sorting (n=84): time 0.003557/1.271, allocations: 1.186 MB / 1.305 GB, free: 10.92 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/1.271, allocations: 189.7 kB / 1.305 GB, free: 10.7 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009351/1.272, allocations: 0.6136 MB / 1.306 GB, free: 10.34 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 8.902e-05/1.272, allocations: 47.59 kB / 1.306 GB, free: 10.29 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.00038/1.273, allocations: 411.4 kB / 1.306 GB, free: 9.93 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002626/1.273, allocations: 287.5 kB / 1.306 GB, free: 9.68 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000265/1.273, allocations: 165.7 kB / 1.307 GB, free: 9.582 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002016/1.273, allocations: 389.4 kB / 1.307 GB, free: 9.211 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005738/1.274, allocations: 276.2 kB / 1.307 GB, free: 9.078 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007386/1.275, allocations: 0.493 MB / 1.308 GB, free: 8.707 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/1.276, allocations: 0.6281 MB / 1.308 GB, free: 8.371 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.276, allocations: 0 / 1.308 GB, free: 8.371 MB / 1.154 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002188/1.278, allocations: 0.883 MB / 1.309 GB, free: 7.918 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/1.278, allocations: 6.5 kB / 1.309 GB, free: 7.918 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/1.278, allocations: 0 / 1.309 GB, free: 7.918 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000617/1.279, allocations: 81.56 kB / 1.309 GB, free: 7.879 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007091/1.279, allocations: 173 kB / 1.309 GB, free: 7.832 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002179/1.282, allocations: 1.506 MB / 1.311 GB, free: 6.398 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009291/1.283, allocations: 90.78 kB / 1.311 GB, free: 6.34 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.106e-05/1.283, allocations: 39.94 kB / 1.311 GB, free: 6.324 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: 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.000581/1.283, allocations: 275.9 kB / 1.311 GB, free: 6.109 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/1.283, allocations: 83.02 kB / 1.311 GB, free: 6.066 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002774/1.286, allocations: 1.131 MB / 1.313 GB, free: 5.434 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/1.286, allocations: 14.72 kB / 1.313 GB, free: 5.43 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/1.286, allocations: 0 / 1.313 GB, free: 5.43 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/1.286, allocations: 11.91 kB / 1.313 GB, free: 5.418 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003626/1.29, allocations: 1.75 MB / 1.314 GB, free: 3.938 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/1.29, allocations: 0 / 1.314 GB, free: 3.938 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006582/1.291, allocations: 167.7 kB / 1.314 GB, free: 3.773 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004501/1.291, allocations: 68.78 kB / 1.314 GB, free: 3.703 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.461e-05/1.291, allocations: 27.98 kB / 1.315 GB, free: 3.676 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002178/1.293, allocations: 1.528 MB / 1.316 GB, free: 2.043 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/1.293, allocations: 0 / 1.316 GB, free: 2.043 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002757/1.296, allocations: 1.053 MB / 1.317 GB, free: 0.9688 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005447/1.297, allocations: 207 kB / 1.317 GB, free: 0.7656 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/1.297, allocations: 27.98 kB / 1.317 GB, free: 0.7383 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007093/1.297, allocations: 59.94 kB / 1.317 GB, free: 0.6797 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002072/1.298, allocations: 84.84 kB / 1.317 GB, free: 0.5977 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.014e-05/1.298, allocations: 39.97 kB / 1.317 GB, free: 0.5586 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0007002/1.298, allocations: 439 kB / 1.318 GB, free: 140 kB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/1.298, allocations: 0 / 1.318 GB, free: 140 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.001473/1.3, allocations: 351.1 kB / 1.318 GB, free: 15.79 MB / 1.17 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.002334/1.302, allocations: 0.6422 MB / 1.319 GB, free: 15.35 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002148/1.304, allocations: 0.8391 MB / 1.32 GB, free: 14.5 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.304, allocations: 0 / 1.32 GB, free: 14.5 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/1.306, allocations: 0.5002 MB / 1.32 GB, free: 13.99 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/1.307, allocations: 293.5 kB / 1.32 GB, free: 13.72 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003874/1.311, allocations: 1.734 MB / 1.322 GB, free: 11.96 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005669/1.311, allocations: 456.2 kB / 1.323 GB, free: 11.48 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0009015/1.312, allocations: 270.6 kB / 1.323 GB, free: 11.21 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003011/1.313, allocations: 116.4 kB / 1.323 GB, free: 11.1 MB / 1.17 GB Notification: Performance of SimCode: time 9.11e-07/1.313, allocations: 0 / 1.323 GB, free: 11.1 MB / 1.17 GB Notification: Performance of Templates: time 0.03122/1.344, allocations: 15.77 MB / 1.338 GB, free: 11.62 MB / 1.186 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 -s ida -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/jenkins1/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.02669768303167]