Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.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.001854/0.001854, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002334/0.002334, allocations: 184.8 kB / 22.22 MB, free: 5.102 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.445/1.445, allocations: 225.6 MB / 251 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.57/2.57, allocations: 443.5 MB / 0.7321 GB, free: 12.34 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002235/0.002235, allocations: 67.89 kB / 1.061 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7985/0.8007, allocations: 160.8 MB / 1.218 GB, free: 3.809 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007511/0.8082, allocations: 4.874 MB / 1.223 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1855/0.9938, allocations: 151.2 MB / 1.371 GB, free: 10.66 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009266/0.9947, allocations: 23.81 kB / 1.371 GB, free: 10.64 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006058/0.9953, allocations: 194.2 kB / 1.371 GB, free: 10.45 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001862/0.9972, allocations: 0.5497 MB / 1.372 GB, free: 9.898 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002192/0.9994, allocations: 0.8619 MB / 1.372 GB, free: 9.043 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001725/1.001, allocations: 1.397 MB / 1.374 GB, free: 7.637 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007291/1.002, allocations: 405.8 kB / 1.374 GB, free: 7.207 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006776/1.002, allocations: 0.4944 MB / 1.375 GB, free: 6.711 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006451/1.003, allocations: 0.5056 MB / 1.375 GB, free: 6.203 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001723/1.003, allocations: 116 kB / 1.375 GB, free: 6.09 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000989/1.004, allocations: 483.6 kB / 1.376 GB, free: 5.617 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003129/1.005, allocations: 299.1 kB / 1.376 GB, free: 5.324 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005977/1.005, allocations: 0.5596 MB / 1.377 GB, free: 4.762 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002107/1.007, allocations: 1.649 MB / 1.378 GB, free: 3.109 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/1.007, allocations: 0 / 1.378 GB, free: 3.109 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.052e-06/1.007, allocations: 0 / 1.378 GB, free: 3.109 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.888e-05/1.007, allocations: 4 kB / 1.378 GB, free: 3.105 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002676/1.01, allocations: 1.455 MB / 1.38 GB, free: 1.602 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/1.01, allocations: 8.031 kB / 1.38 GB, free: 1.594 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009129/1.011, allocations: 192.1 kB / 1.38 GB, free: 1.406 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/1.012, allocations: 0.7661 MB / 1.381 GB, free: 0.5977 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.873e-05/1.012, allocations: 65.98 kB / 1.381 GB, free: 0.5352 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/1.012, allocations: 80 kB / 1.381 GB, free: 468 kB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/1.014, allocations: 0.9185 MB / 1.382 GB, free: 15.49 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/1.014, allocations: 0 / 1.382 GB, free: 15.49 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.177e-05/1.014, allocations: 36 kB / 1.382 GB, free: 15.46 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/1.014, allocations: 24 kB / 1.382 GB, free: 15.43 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/1.016, allocations: 1.112 MB / 1.383 GB, free: 14.32 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.004411/1.021, allocations: 2.709 MB / 1.385 GB, free: 11.5 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/1.022, allocations: 0.853 MB / 1.386 GB, free: 10.62 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005351/1.023, allocations: 274.7 kB / 1.386 GB, free: 10.35 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.854e-05/1.023, allocations: 32.61 kB / 1.386 GB, free: 10.32 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000921/1.024, allocations: 499.3 kB / 1.387 GB, free: 9.812 MB / 1.092 GB Notification: Performance of pre-optimization done (n=79): time 2.425e-06/1.024, allocations: 0 / 1.387 GB, free: 9.812 MB / 1.092 GB Notification: Performance of matching and sorting (n=79): time 0.003285/1.027, allocations: 1.194 MB / 1.388 GB, free: 8.59 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/1.027, allocations: 188.6 kB / 1.388 GB, free: 8.363 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000868/1.028, allocations: 0.6254 MB / 1.389 GB, free: 7.734 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 8.005e-05/1.028, allocations: 45.69 kB / 1.389 GB, free: 7.684 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003504/1.028, allocations: 393 kB / 1.389 GB, free: 7.293 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002571/1.029, allocations: 269.7 kB / 1.39 GB, free: 7.027 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002471/1.029, allocations: 162.5 kB / 1.39 GB, free: 6.863 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000224/1.029, allocations: 398.6 kB / 1.39 GB, free: 6.465 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005554/1.03, allocations: 261.9 kB / 1.39 GB, free: 6.207 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006754/1.03, allocations: 367 kB / 1.391 GB, free: 5.836 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/1.032, allocations: 0.6073 MB / 1.391 GB, free: 5.215 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/1.032, allocations: 0 / 1.391 GB, free: 5.215 MB / 1.092 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002124/1.034, allocations: 0.8492 MB / 1.392 GB, free: 4.355 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/1.034, allocations: 4 kB / 1.392 GB, free: 4.352 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/1.034, allocations: 0 / 1.392 GB, free: 4.352 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006411/1.034, allocations: 88.8 kB / 1.392 GB, free: 4.262 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006734/1.035, allocations: 163.7 kB / 1.392 GB, free: 4.102 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002371/1.037, allocations: 1.642 MB / 1.394 GB, free: 2.312 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007798/1.038, allocations: 92.8 kB / 1.394 GB, free: 2.223 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/1.038, allocations: 39.97 kB / 1.394 GB, free: 2.184 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.0005241/1.039, allocations: 274.9 kB / 1.394 GB, free: 1.91 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002141/1.039, allocations: 83.48 kB / 1.394 GB, free: 1.828 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002574/1.042, allocations: 1.065 MB / 1.396 GB, free: 0.7461 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/1.042, allocations: 8 kB / 1.396 GB, free: 0.7383 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.042, allocations: 3.938 kB / 1.396 GB, free: 0.7344 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/1.042, allocations: 7.984 kB / 1.396 GB, free: 0.7266 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003777/1.045, allocations: 1.956 MB / 1.397 GB, free: 14.71 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/1.045, allocations: 0 / 1.397 GB, free: 14.71 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005928/1.046, allocations: 147.7 kB / 1.398 GB, free: 14.57 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004655/1.047, allocations: 72.78 kB / 1.398 GB, free: 14.49 MB / 1.108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.686e-05/1.047, allocations: 23.98 kB / 1.398 GB, free: 14.47 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002157/1.049, allocations: 1.674 MB / 1.399 GB, free: 12.65 MB / 1.108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/1.049, allocations: 64 / 1.399 GB, free: 12.65 MB / 1.108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00218/1.051, allocations: 1.006 MB / 1.4 GB, free: 11.62 MB / 1.108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004973/1.051, allocations: 272.2 kB / 1.401 GB, free: 11.34 MB / 1.108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/1.052, allocations: 24 kB / 1.401 GB, free: 11.32 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006722/1.052, allocations: 59.92 kB / 1.401 GB, free: 11.26 MB / 1.108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/1.052, allocations: 69.02 kB / 1.401 GB, free: 11.19 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.334e-05/1.052, allocations: 47.95 kB / 1.401 GB, free: 11.14 MB / 1.108 GB Notification: Performance of sorting global known variables: time 0.0006743/1.053, allocations: 451 kB / 1.401 GB, free: 10.71 MB / 1.108 GB Notification: Performance of sort global known variables: time 1.1e-07/1.053, allocations: 0 / 1.401 GB, free: 10.71 MB / 1.108 GB Notification: Performance of remove unused functions: time 0.0009424/1.054, allocations: 323.2 kB / 1.401 GB, free: 10.39 MB / 1.108 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.001995/1.056, allocations: 0.6062 MB / 1.402 GB, free: 9.957 MB / 1.108 GB Notification: Performance of simCode: created initialization part: time 0.001907/1.058, allocations: 0.8 MB / 1.403 GB, free: 9.145 MB / 1.108 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.058, allocations: 0 / 1.403 GB, free: 9.145 MB / 1.108 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/1.059, allocations: 0.4925 MB / 1.403 GB, free: 8.645 MB / 1.108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/1.061, allocations: 304.2 kB / 1.404 GB, free: 8.363 MB / 1.108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003348/1.064, allocations: 1.651 MB / 1.405 GB, free: 6.68 MB / 1.108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000818/1.065, allocations: 1.023 MB / 1.406 GB, free: 5.625 MB / 1.108 GB Notification: Performance of simCode: alias equations: time 0.0008755/1.066, allocations: 262.5 kB / 1.406 GB, free: 5.363 MB / 1.108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002803/1.066, allocations: 107.4 kB / 1.407 GB, free: 5.262 MB / 1.108 GB Notification: Performance of SimCode: time 1.202e-06/1.066, allocations: 3.938 kB / 1.407 GB, free: 5.258 MB / 1.108 GB Notification: Performance of Templates: time 0.04011/1.106, allocations: 15.85 MB / 1.422 GB, free: 5.551 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.499515107832849]