Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001604/0.001604, allocations: 111.2 kB / 17.61 MB, free: 4.703 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.002084/0.002084, allocations: 186 kB / 20.78 MB, free: 1.547 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.455/1.455, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.872/2.872, allocations: 496.2 MB / 0.7819 GB, free: 12.31 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 63.98 kB / 1.136 GB, free: 12.48 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.01, allocations: 173.6 MB / 1.305 GB, free: 33.44 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006848/1.017, allocations: 5.22 MB / 1.311 GB, free: 29.73 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1994/1.217, allocations: 151.2 MB / 1.458 GB, free: 15.82 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001274/1.218, allocations: 15.59 kB / 1.458 GB, free: 15.81 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001173/1.219, allocations: 207.5 kB / 1.458 GB, free: 15.68 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002854/1.222, allocations: 0.5635 MB / 1.459 GB, free: 15.34 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003006/1.225, allocations: 0.8797 MB / 1.46 GB, free: 14.85 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002725/1.228, allocations: 1.47 MB / 1.461 GB, free: 14.08 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001164/1.229, allocations: 475.6 kB / 1.462 GB, free: 13.79 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/1.23, allocations: 0.5196 MB / 1.462 GB, free: 13.54 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001306/1.231, allocations: 0.5594 MB / 1.463 GB, free: 13.24 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004308/1.232, allocations: 126.9 kB / 1.463 GB, free: 13.24 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/1.233, allocations: 497.9 kB / 1.463 GB, free: 13.12 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005646/1.234, allocations: 324.5 kB / 1.464 GB, free: 12.91 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0009186/1.235, allocations: 0.6115 MB / 1.464 GB, free: 12.51 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003037/1.238, allocations: 1.756 MB / 1.466 GB, free: 11.76 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/1.238, allocations: 1.625 kB / 1.466 GB, free: 11.76 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.043e-06/1.238, allocations: 0.6094 kB / 1.466 GB, free: 11.76 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.789e-05/1.238, allocations: 0 / 1.466 GB, free: 11.76 MB / 1.154 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.003478/1.241, allocations: 1.545 MB / 1.468 GB, free: 10.71 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/1.241, allocations: 9.969 kB / 1.468 GB, free: 10.71 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001923/1.243, allocations: 313.9 kB / 1.468 GB, free: 10.62 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00158/1.245, allocations: 0.7957 MB / 1.469 GB, free: 10.1 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.982e-05/1.245, allocations: 73.14 kB / 1.469 GB, free: 10.07 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/1.245, allocations: 93.72 kB / 1.469 GB, free: 10.04 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002153/1.247, allocations: 1.064 MB / 1.47 GB, free: 9.375 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/1.247, allocations: 3.938 kB / 1.47 GB, free: 9.371 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/1.247, allocations: 45.88 kB / 1.47 GB, free: 9.336 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/1.247, allocations: 24.22 kB / 1.47 GB, free: 9.336 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002466/1.25, allocations: 1.267 MB / 1.471 GB, free: 8.746 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005675/1.256, allocations: 3.06 MB / 1.474 GB, free: 6.277 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002714/1.258, allocations: 0.9666 MB / 1.475 GB, free: 5.738 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007936/1.259, allocations: 335.4 kB / 1.475 GB, free: 5.574 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 9.385e-05/1.259, allocations: 35.91 kB / 1.475 GB, free: 5.555 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00121/1.26, allocations: 0.5613 MB / 1.476 GB, free: 5.203 MB / 1.154 GB Notification: Performance of pre-optimization done (n=84): time 2.715e-06/1.26, allocations: 0 / 1.476 GB, free: 5.203 MB / 1.154 GB Notification: Performance of matching and sorting (n=84): time 0.004351/1.265, allocations: 1.389 MB / 1.477 GB, free: 4.465 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001722/1.265, allocations: 194.1 kB / 1.477 GB, free: 4.242 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/1.266, allocations: 0.642 MB / 1.478 GB, free: 3.867 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001049/1.266, allocations: 42.7 kB / 1.478 GB, free: 3.824 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000475/1.267, allocations: 429.8 kB / 1.479 GB, free: 3.449 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003038/1.267, allocations: 292.6 kB / 1.479 GB, free: 3.195 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003034/1.267, allocations: 168.3 kB / 1.479 GB, free: 3.094 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002329/1.268, allocations: 386.2 kB / 1.479 GB, free: 2.727 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008295/1.268, allocations: 325 kB / 1.48 GB, free: 2.57 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009594/1.269, allocations: 423.4 kB / 1.48 GB, free: 2.34 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001729/1.271, allocations: 0.709 MB / 1.481 GB, free: 1.977 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/1.271, allocations: 0 / 1.481 GB, free: 1.977 MB / 1.154 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002729/1.274, allocations: 0.9769 MB / 1.482 GB, free: 1.48 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/1.274, allocations: 5.625 kB / 1.482 GB, free: 1.48 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.274, allocations: 1.156 kB / 1.482 GB, free: 1.48 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006102/1.274, allocations: 89.86 kB / 1.482 GB, free: 1.434 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008263/1.275, allocations: 184.7 kB / 1.482 GB, free: 1.387 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/1.278, allocations: 1.64 MB / 1.484 GB, free: 15.78 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/1.279, allocations: 113.6 kB / 1.484 GB, free: 15.71 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.588e-05/1.279, allocations: 36.03 kB / 1.484 GB, free: 15.7 MB / 1.17 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.0005836/1.279, allocations: 281.5 kB / 1.484 GB, free: 15.48 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/1.279, allocations: 88.38 kB / 1.484 GB, free: 15.43 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003044/1.282, allocations: 1.208 MB / 1.485 GB, free: 14.76 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/1.282, allocations: 9.344 kB / 1.485 GB, free: 14.76 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/1.282, allocations: 0 / 1.485 GB, free: 14.76 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/1.282, allocations: 5.266 kB / 1.485 GB, free: 14.76 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004141/1.287, allocations: 2.141 MB / 1.487 GB, free: 13.36 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/1.287, allocations: 0 / 1.487 GB, free: 13.36 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007584/1.287, allocations: 183.6 kB / 1.488 GB, free: 13.31 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004536/1.288, allocations: 70.72 kB / 1.488 GB, free: 13.25 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.105e-05/1.288, allocations: 31.98 kB / 1.488 GB, free: 13.22 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002161/1.29, allocations: 1.658 MB / 1.489 GB, free: 11.41 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.29, allocations: 0 / 1.489 GB, free: 11.41 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002729/1.293, allocations: 1.123 MB / 1.49 GB, free: 10.27 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004547/1.293, allocations: 280.2 kB / 1.491 GB, free: 9.977 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/1.293, allocations: 27.95 kB / 1.491 GB, free: 9.949 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00083/1.294, allocations: 79.91 kB / 1.491 GB, free: 9.871 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/1.294, allocations: 76.84 kB / 1.491 GB, free: 9.797 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.455e-05/1.294, allocations: 35.97 kB / 1.491 GB, free: 9.762 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006675/1.295, allocations: 467 kB / 1.491 GB, free: 9.309 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/1.295, allocations: 0 / 1.491 GB, free: 9.309 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001127/1.296, allocations: 355.1 kB / 1.492 GB, free: 8.961 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: 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.001969/1.298, allocations: 0.6076 MB / 1.492 GB, free: 8.523 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002341/1.301, allocations: 0.925 MB / 1.493 GB, free: 7.586 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.301, allocations: 0 / 1.493 GB, free: 7.586 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001213/1.302, allocations: 0.5432 MB / 1.494 GB, free: 7.031 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/1.303, allocations: 304.8 kB / 1.494 GB, free: 6.758 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003664/1.307, allocations: 1.82 MB / 1.496 GB, free: 4.906 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007907/1.308, allocations: 1.047 MB / 1.497 GB, free: 3.824 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0009153/1.308, allocations: 282.9 kB / 1.497 GB, free: 3.543 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003048/1.309, allocations: 107.4 kB / 1.497 GB, free: 3.438 MB / 1.17 GB Notification: Performance of SimCode: time 1.332e-06/1.309, allocations: 0 / 1.497 GB, free: 3.438 MB / 1.17 GB Notification: Performance of Templates: time 0.03117/1.34, allocations: 16.41 MB / 1.513 GB, free: 3.223 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.160489399917424]