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.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.001239/0.001239, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001361/0.001361, allocations: 216.4 kB / 23.04 MB, free: 5.074 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.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.245/3.245, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="cs",version="2.0",platforms={"static"}) [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.00193/0.00193, allocations: 66.2 kB / 1.171 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4286/0.4305, allocations: 179 MB / 1.345 GB, free: 484 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.01086/0.4414, allocations: 5.26 MB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.2413/0.6827, allocations: 154.2 MB / 1.501 GB, free: 408 kB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.684, allocations: 23.81 kB / 1.501 GB, free: 384 kB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0007738/0.6848, allocations: 210.1 kB / 1.501 GB, free: 172 kB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002278/0.6871, allocations: 0.58 MB / 1.502 GB, free: 15.59 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002488/0.6896, allocations: 0.8994 MB / 1.503 GB, free: 14.69 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002272/0.6918, allocations: 1.491 MB / 1.504 GB, free: 13.19 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009534/0.6928, allocations: 482.3 kB / 1.505 GB, free: 12.7 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009257/0.6937, allocations: 0.5412 MB / 1.505 GB, free: 12.16 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007666/0.6945, allocations: 0.564 MB / 1.506 GB, free: 11.59 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001728/0.6946, allocations: 132 kB / 1.506 GB, free: 11.46 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.6958, allocations: 0.523 MB / 1.506 GB, free: 10.94 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003447/0.6961, allocations: 330.9 kB / 1.507 GB, free: 10.61 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006633/0.6968, allocations: 0.6219 MB / 1.507 GB, free: 9.988 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002658/0.6995, allocations: 1.809 MB / 1.509 GB, free: 8.172 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.6995, allocations: 3.938 kB / 1.509 GB, free: 8.168 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6995, allocations: 0 / 1.509 GB, free: 8.168 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.241e-05/0.6995, allocations: 0 / 1.509 GB, free: 8.168 MB / 1.201 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.003034/0.7025, allocations: 1.493 MB / 1.51 GB, free: 6.637 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/0.7026, allocations: 15.97 kB / 1.51 GB, free: 6.621 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.554e-05/0.7026, allocations: 26.19 kB / 1.511 GB, free: 6.598 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002075/0.7028, allocations: 156.3 kB / 1.511 GB, free: 6.438 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002429/0.7052, allocations: 363.8 kB / 1.511 GB, free: 6.082 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/0.7068, allocations: 0.7412 MB / 1.512 GB, free: 5.312 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.809e-05/0.7068, allocations: 70 kB / 1.512 GB, free: 5.242 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.707, allocations: 96 kB / 1.512 GB, free: 5.148 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/0.7091, allocations: 1.077 MB / 1.513 GB, free: 4.035 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.7091, allocations: 0 / 1.513 GB, free: 4.035 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.852e-05/0.7092, allocations: 44 kB / 1.513 GB, free: 3.992 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.7092, allocations: 24 kB / 1.513 GB, free: 3.969 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002567/0.7118, allocations: 1.268 MB / 1.514 GB, free: 2.699 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00558/0.7173, allocations: 3.006 MB / 1.517 GB, free: 15.54 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002741/0.7201, allocations: 0.9013 MB / 1.518 GB, free: 14.63 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008227/0.7209, allocations: 340.4 kB / 1.518 GB, free: 14.3 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 9.061e-05/0.721, allocations: 40.58 kB / 1.518 GB, free: 14.26 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001212/0.7222, allocations: 0.5511 MB / 1.519 GB, free: 13.7 MB / 1.217 GB Notification: Performance of pre-optimization done (n=84): time 2.375e-06/0.7222, allocations: 0 / 1.519 GB, free: 13.7 MB / 1.217 GB Notification: Performance of matching and sorting (n=84): time 0.00406/0.7263, allocations: 1.317 MB / 1.52 GB, free: 12.37 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/0.7264, allocations: 188.9 kB / 1.52 GB, free: 12.14 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.7274, allocations: 0.6685 MB / 1.521 GB, free: 11.46 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.872e-05/0.7275, allocations: 41.7 kB / 1.521 GB, free: 11.41 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004235/0.7279, allocations: 448.9 kB / 1.522 GB, free: 10.97 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002837/0.7282, allocations: 285.6 kB / 1.522 GB, free: 10.69 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002595/0.7285, allocations: 154.6 kB / 1.522 GB, free: 10.53 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002719/0.7287, allocations: 386.8 kB / 1.522 GB, free: 10.14 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007978/0.7295, allocations: 305.8 kB / 1.523 GB, free: 9.844 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009122/0.7304, allocations: 418.5 kB / 1.523 GB, free: 9.41 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001699/0.7321, allocations: 0.6866 MB / 1.524 GB, free: 8.715 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.7321, allocations: 0 / 1.524 GB, free: 8.715 MB / 1.217 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002924/0.7351, allocations: 0.9272 MB / 1.525 GB, free: 7.777 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.7351, allocations: 9.562 kB / 1.525 GB, free: 7.77 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.7351, allocations: 0 / 1.525 GB, free: 7.77 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00061/0.7357, allocations: 84.81 kB / 1.525 GB, free: 7.684 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007986/0.7365, allocations: 175.8 kB / 1.525 GB, free: 7.512 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002215/0.7387, allocations: 1.531 MB / 1.526 GB, free: 5.863 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009768/0.7397, allocations: 111.5 kB / 1.526 GB, free: 5.754 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-05/0.7398, allocations: 36.16 kB / 1.527 GB, free: 5.719 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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 (90): * Single equations (assignments): 89 * 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.000557/0.7403, allocations: 273.6 kB / 1.527 GB, free: 5.441 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/0.7406, allocations: 91.42 kB / 1.527 GB, free: 5.352 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003181/0.7437, allocations: 1.202 MB / 1.528 GB, free: 4.129 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.7437, allocations: 12 kB / 1.528 GB, free: 4.117 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.7438, allocations: 0 / 1.528 GB, free: 4.117 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.7438, allocations: 11.92 kB / 1.528 GB, free: 4.105 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004348/0.7481, allocations: 2.132 MB / 1.53 GB, free: 1.918 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.7481, allocations: 3.938 kB / 1.53 GB, free: 1.914 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008137/0.7489, allocations: 167.8 kB / 1.53 GB, free: 1.75 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004584/0.7494, allocations: 76.78 kB / 1.53 GB, free: 1.672 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.647e-05/0.7495, allocations: 35.91 kB / 1.53 GB, free: 1.637 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/0.7516, allocations: 1.547 MB / 1.532 GB, free: 15.97 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.7516, allocations: 3.984 kB / 1.532 GB, free: 15.96 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00292/0.7545, allocations: 1.127 MB / 1.533 GB, free: 14.82 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005744/0.7551, allocations: 207 kB / 1.533 GB, free: 14.61 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/0.7553, allocations: 27.92 kB / 1.533 GB, free: 14.59 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008199/0.7561, allocations: 90.67 kB / 1.533 GB, free: 14.5 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002171/0.7563, allocations: 76.84 kB / 1.533 GB, free: 14.43 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.612e-05/0.7564, allocations: 36.12 kB / 1.533 GB, free: 14.39 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007056/0.7571, allocations: 491 kB / 1.534 GB, free: 13.92 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.7571, allocations: 0 / 1.534 GB, free: 13.92 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001072/0.7582, allocations: 343.1 kB / 1.534 GB, free: 13.58 MB / 1.232 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.004976/0.7631, allocations: 2.187 MB / 1.536 GB, free: 11.55 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002309/0.7654, allocations: 0.8861 MB / 1.537 GB, free: 10.66 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.7654, allocations: 0 / 1.537 GB, free: 10.66 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.7667, allocations: 0.5547 MB / 1.538 GB, free: 10.09 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/0.7682, allocations: 322.9 kB / 1.538 GB, free: 9.797 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/0.7815, allocations: 6.831 MB / 1.545 GB, free: 2.809 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008996/0.7824, allocations: 1.055 MB / 1.546 GB, free: 1.723 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001027/0.7834, allocations: 283.1 kB / 1.546 GB, free: 1.441 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006881/0.7841, allocations: 427.2 kB / 1.546 GB, free: 1.027 MB / 1.232 GB Notification: Performance of SimCode: time 1.292e-06/0.7841, allocations: 0 / 1.546 GB, free: 1.027 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06391/0.848, allocations: 23.66 MB / 1.57 GB, free: 9.605 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.47/15.32, allocations: 13.69 kB / 1.57 GB, free: 9.598 MB / 1.264 GB " [Timeout remaining time 284] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 840.0] 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/jenkins1/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: 22.320664138009306]