Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.001796/0.001796, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.002065/0.002065, allocations: 198.7 kB / 22.17 MB, free: 5.211 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.518/1.518, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.873/2.873, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 67.89 kB / 1.109 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034/1.036, allocations: 168.7 MB / 1.274 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007266/1.044, allocations: 5.224 MB / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2116/1.255, allocations: 151.2 MB / 1.427 GB, free: 7.426 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001073/1.256, allocations: 15.94 kB / 1.427 GB, free: 7.41 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.000717/1.257, allocations: 218 kB / 1.427 GB, free: 7.195 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00217/1.259, allocations: 0.5619 MB / 1.428 GB, free: 6.637 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002504/1.262, allocations: 0.8779 MB / 1.428 GB, free: 5.762 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002216/1.264, allocations: 1.46 MB / 1.43 GB, free: 4.297 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009686/1.265, allocations: 477.5 kB / 1.43 GB, free: 3.805 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009371/1.266, allocations: 0.5217 MB / 1.431 GB, free: 3.281 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008167/1.267, allocations: 0.5639 MB / 1.431 GB, free: 2.715 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001907/1.267, allocations: 128 kB / 1.432 GB, free: 2.59 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/1.268, allocations: 495.6 kB / 1.432 GB, free: 2.105 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003323/1.268, allocations: 319 kB / 1.432 GB, free: 1.793 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0006441/1.269, allocations: 0.6142 MB / 1.433 GB, free: 1.176 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002599/1.272, allocations: 1.759 MB / 1.435 GB, free: 15.41 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.272, allocations: 0 / 1.435 GB, free: 15.41 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.583e-06/1.272, allocations: 0 / 1.435 GB, free: 15.41 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.711e-05/1.272, allocations: 0 / 1.435 GB, free: 15.41 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003148/1.275, allocations: 1.545 MB / 1.436 GB, free: 13.8 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/1.275, allocations: 12.02 kB / 1.436 GB, free: 13.79 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001789/1.277, allocations: 307.9 kB / 1.436 GB, free: 13.49 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/1.278, allocations: 0.797 MB / 1.437 GB, free: 12.65 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.531e-05/1.278, allocations: 74 kB / 1.437 GB, free: 12.58 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/1.278, allocations: 92 kB / 1.437 GB, free: 12.49 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002307/1.281, allocations: 1.074 MB / 1.438 GB, free: 11.38 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.143e-05/1.281, allocations: 0 / 1.438 GB, free: 11.38 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/1.281, allocations: 40 kB / 1.438 GB, free: 11.34 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.671e-05/1.281, allocations: 27.94 kB / 1.438 GB, free: 11.31 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002577/1.283, allocations: 1.264 MB / 1.44 GB, free: 10.05 MB / 1.139 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.005404/1.289, allocations: 2.962 MB / 1.443 GB, free: 6.965 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002756/1.292, allocations: 0.9776 MB / 1.444 GB, free: 5.965 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008435/1.292, allocations: 334.6 kB / 1.444 GB, free: 5.633 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.951e-05/1.292, allocations: 34.42 kB / 1.444 GB, free: 5.602 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00119/1.294, allocations: 0.5589 MB / 1.444 GB, free: 5.02 MB / 1.139 GB Notification: Performance of pre-optimization done (n=84): time 2.735e-06/1.294, allocations: 0 / 1.444 GB, free: 5.02 MB / 1.139 GB Notification: Performance of matching and sorting (n=84): time 0.00421/1.298, allocations: 1.384 MB / 1.446 GB, free: 3.613 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001569/1.298, allocations: 196.9 kB / 1.446 GB, free: 3.379 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009894/1.299, allocations: 0.6488 MB / 1.447 GB, free: 2.723 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/1.299, allocations: 41.7 kB / 1.447 GB, free: 2.676 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004378/1.3, allocations: 433 kB / 1.447 GB, free: 2.246 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002813/1.3, allocations: 285.5 kB / 1.447 GB, free: 1.965 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000297/1.3, allocations: 174.6 kB / 1.448 GB, free: 1.785 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002198/1.3, allocations: 386.8 kB / 1.448 GB, free: 1.398 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008105/1.301, allocations: 325.8 kB / 1.448 GB, free: 1.082 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009188/1.302, allocations: 423.1 kB / 1.449 GB, free: 0.6562 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001689/1.304, allocations: 0.7178 MB / 1.449 GB, free: 15.93 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/1.304, allocations: 4 kB / 1.449 GB, free: 15.92 MB / 1.154 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002684/1.306, allocations: 0.9701 MB / 1.45 GB, free: 14.94 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/1.306, allocations: 8 kB / 1.45 GB, free: 14.93 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/1.306, allocations: 4.094 kB / 1.45 GB, free: 14.93 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006056/1.307, allocations: 76.77 kB / 1.45 GB, free: 14.85 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008692/1.308, allocations: 199.7 kB / 1.451 GB, free: 14.66 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002548/1.31, allocations: 1.622 MB / 1.452 GB, free: 12.88 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/1.312, allocations: 117.5 kB / 1.452 GB, free: 12.77 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.462e-05/1.312, allocations: 39.97 kB / 1.452 GB, free: 12.73 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: 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 (98): * Single equations (assignments): 97 * 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.000632/1.312, allocations: 267.9 kB / 1.453 GB, free: 12.46 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002496/1.313, allocations: 91.42 kB / 1.453 GB, free: 12.37 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003277/1.316, allocations: 1.198 MB / 1.454 GB, free: 11.15 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/1.316, allocations: 12 kB / 1.454 GB, free: 11.14 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/1.316, allocations: 4 kB / 1.454 GB, free: 11.14 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/1.316, allocations: 7.969 kB / 1.454 GB, free: 11.13 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004676/1.321, allocations: 2.141 MB / 1.456 GB, free: 8.934 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/1.321, allocations: 0 / 1.456 GB, free: 8.934 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000773/1.321, allocations: 171.7 kB / 1.456 GB, free: 8.766 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004834/1.322, allocations: 72.78 kB / 1.456 GB, free: 8.691 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/1.322, allocations: 35.91 kB / 1.456 GB, free: 8.656 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002172/1.324, allocations: 1.662 MB / 1.458 GB, free: 6.848 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.324, allocations: 0 / 1.458 GB, free: 6.848 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002927/1.327, allocations: 1.116 MB / 1.459 GB, free: 5.711 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006018/1.328, allocations: 284.1 kB / 1.459 GB, free: 5.414 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002202/1.328, allocations: 27.95 kB / 1.459 GB, free: 5.387 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009104/1.329, allocations: 83.91 kB / 1.459 GB, free: 5.305 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/1.329, allocations: 80.83 kB / 1.459 GB, free: 5.227 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.231e-05/1.329, allocations: 39.97 kB / 1.459 GB, free: 5.188 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0007675/1.33, allocations: 463 kB / 1.46 GB, free: 4.738 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.33, allocations: 0 / 1.46 GB, free: 4.738 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001146/1.331, allocations: 347.1 kB / 1.46 GB, free: 4.398 MB / 1.154 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 (97): * Single equations (assignments): 91 * 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.00209/1.333, allocations: 0.62 MB / 1.461 GB, free: 3.965 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002402/1.335, allocations: 0.9133 MB / 1.462 GB, free: 3.039 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.335, allocations: 4 kB / 1.462 GB, free: 3.035 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001284/1.337, allocations: 0.5509 MB / 1.462 GB, free: 2.473 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/1.338, allocations: 310.4 kB / 1.462 GB, free: 2.188 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003799/1.342, allocations: 1.826 MB / 1.464 GB, free: 344 kB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007613/1.343, allocations: 1.051 MB / 1.465 GB, free: 15.26 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0009307/1.344, allocations: 274.9 kB / 1.466 GB, free: 14.98 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003129/1.344, allocations: 115.4 kB / 1.466 GB, free: 14.87 MB / 1.17 GB Notification: Performance of SimCode: time 5.51e-07/1.344, allocations: 0 / 1.466 GB, free: 14.87 MB / 1.17 GB Notification: Performance of Templates: time 0.03106/1.375, allocations: 16.4 MB / 1.482 GB, free: 14.66 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.276064130943269]