Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.001431/0.001431, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002587/0.002587, allocations: 215.8 kB / 22.26 MB, free: 5.125 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.771/2.771, allocations: 476.7 MB / 0.7707 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",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.00204/0.00204, allocations: 73.16 kB / 1.117 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3393, allocations: 169.9 MB / 1.283 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.008574/0.3479, allocations: 5.256 MB / 1.288 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1923/0.5402, allocations: 154.2 MB / 1.439 GB, free: 3.691 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009603/0.5412, allocations: 19.88 kB / 1.439 GB, free: 3.672 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0009023/0.5421, allocations: 214 kB / 1.439 GB, free: 3.461 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002352/0.5445, allocations: 0.5892 MB / 1.44 GB, free: 2.875 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002534/0.547, allocations: 0.9095 MB / 1.441 GB, free: 1.969 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002361/0.5493, allocations: 1.483 MB / 1.442 GB, free: 488 kB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.5505, allocations: 476.7 kB / 1.443 GB, free: 15.98 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.5517, allocations: 0.541 MB / 1.443 GB, free: 15.45 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/0.5528, allocations: 0.5601 MB / 1.444 GB, free: 14.88 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003389/0.5531, allocations: 124 kB / 1.444 GB, free: 14.76 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001346/0.5544, allocations: 0.5503 MB / 1.444 GB, free: 14.21 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004465/0.5549, allocations: 322.9 kB / 1.445 GB, free: 13.89 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0009151/0.5558, allocations: 0.618 MB / 1.445 GB, free: 13.27 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003216/0.559, allocations: 1.809 MB / 1.447 GB, free: 11.46 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.559, allocations: 4 kB / 1.447 GB, free: 11.45 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.783e-06/0.559, allocations: 0 / 1.447 GB, free: 11.45 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.386e-05/0.5591, allocations: 4 kB / 1.447 GB, free: 11.45 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.003724/0.5628, allocations: 1.489 MB / 1.449 GB, free: 9.93 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.5629, allocations: 12.03 kB / 1.449 GB, free: 9.918 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002854/0.5631, allocations: 156.2 kB / 1.449 GB, free: 9.758 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002008/0.5651, allocations: 271.9 kB / 1.449 GB, free: 9.492 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001637/0.5668, allocations: 0.7336 MB / 1.45 GB, free: 8.73 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.778e-05/0.5669, allocations: 74 kB / 1.45 GB, free: 8.656 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/0.567, allocations: 91.98 kB / 1.45 GB, free: 8.566 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002077/0.5691, allocations: 1.016 MB / 1.451 GB, free: 7.512 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.5691, allocations: 0 / 1.451 GB, free: 7.512 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.5692, allocations: 40 kB / 1.451 GB, free: 7.473 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.389e-05/0.5693, allocations: 24 kB / 1.451 GB, free: 7.449 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002258/0.5715, allocations: 1.179 MB / 1.452 GB, free: 6.27 MB / 1.154 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.005584/0.5771, allocations: 2.896 MB / 1.455 GB, free: 3.246 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/0.579, allocations: 0.7941 MB / 1.456 GB, free: 2.449 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006157/0.5796, allocations: 290.6 kB / 1.456 GB, free: 2.164 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005209/0.5802, allocations: 88.61 kB / 1.456 GB, free: 2.078 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/0.5812, allocations: 0.507 MB / 1.457 GB, free: 1.551 MB / 1.154 GB Notification: Performance of pre-optimization done (n=82): time 3.627e-06/0.5812, allocations: 7.938 kB / 1.457 GB, free: 1.543 MB / 1.154 GB Notification: Performance of matching and sorting (n=82): time 0.003634/0.5848, allocations: 1.158 MB / 1.458 GB, free: 384 kB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/0.585, allocations: 192.6 kB / 1.458 GB, free: 148 kB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.5861, allocations: 0.6724 MB / 1.459 GB, free: 15.46 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.521e-05/0.5862, allocations: 41.7 kB / 1.459 GB, free: 15.41 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004319/0.5866, allocations: 437 kB / 1.459 GB, free: 14.98 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002814/0.5869, allocations: 281.6 kB / 1.459 GB, free: 14.7 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002582/0.5872, allocations: 154.6 kB / 1.459 GB, free: 14.54 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002601/0.5874, allocations: 386.8 kB / 1.46 GB, free: 14.16 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005851/0.588, allocations: 257.9 kB / 1.46 GB, free: 13.91 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007062/0.5887, allocations: 370.5 kB / 1.46 GB, free: 13.52 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.59, allocations: 0.5994 MB / 1.461 GB, free: 12.91 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.59, allocations: 4 kB / 1.461 GB, free: 12.91 MB / 1.17 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002274/0.5923, allocations: 0.8412 MB / 1.462 GB, free: 12.06 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.5923, allocations: 4 kB / 1.462 GB, free: 12.05 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.5923, allocations: 4 kB / 1.462 GB, free: 12.05 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006592/0.593, allocations: 84.86 kB / 1.462 GB, free: 11.96 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007204/0.5937, allocations: 151.8 kB / 1.462 GB, free: 11.82 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002422/0.5961, allocations: 1.527 MB / 1.463 GB, free: 10.16 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008264/0.5969, allocations: 87.52 kB / 1.464 GB, free: 10.08 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.52e-05/0.597, allocations: 35.95 kB / 1.464 GB, free: 10.04 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: 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 (88): * Single equations (assignments): 87 * 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.0006074/0.5976, allocations: 273.7 kB / 1.464 GB, free: 9.766 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002794/0.5979, allocations: 91.39 kB / 1.464 GB, free: 9.676 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002941/0.6009, allocations: 1.097 MB / 1.465 GB, free: 8.559 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.6009, allocations: 8 kB / 1.465 GB, free: 8.551 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.6009, allocations: 4 kB / 1.465 GB, free: 8.547 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/0.6009, allocations: 7.969 kB / 1.465 GB, free: 8.539 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004609/0.6055, allocations: 1.993 MB / 1.467 GB, free: 6.492 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.6055, allocations: 3.938 kB / 1.467 GB, free: 6.488 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006439/0.6061, allocations: 147.8 kB / 1.467 GB, free: 6.344 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004611/0.6066, allocations: 76.72 kB / 1.467 GB, free: 6.266 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.797e-05/0.6067, allocations: 31.97 kB / 1.467 GB, free: 6.234 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002202/0.6089, allocations: 1.562 MB / 1.469 GB, free: 4.555 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6089, allocations: 0 / 1.469 GB, free: 4.555 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002439/0.6113, allocations: 1.03 MB / 1.47 GB, free: 3.5 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005909/0.6119, allocations: 203 kB / 1.47 GB, free: 3.301 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/0.6121, allocations: 16 kB / 1.47 GB, free: 3.285 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007802/0.6129, allocations: 70.27 kB / 1.47 GB, free: 3.219 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/0.6131, allocations: 80.8 kB / 1.47 GB, free: 3.141 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-05/0.6132, allocations: 39.97 kB / 1.47 GB, free: 3.102 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0008043/0.614, allocations: 487 kB / 1.471 GB, free: 2.633 MB / 1.17 GB Notification: Performance of sort global known variables: time 9.1e-08/0.614, allocations: 0 / 1.471 GB, free: 2.633 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001134/0.6151, allocations: 355 kB / 1.471 GB, free: 2.285 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 (93): * Single equations (assignments): 87 * 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.004771/0.6199, allocations: 2.107 MB / 1.473 GB, free: 348 kB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001967/0.6219, allocations: 0.7883 MB / 1.474 GB, free: 15.54 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.6219, allocations: 0 / 1.474 GB, free: 15.54 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.623, allocations: 0.5081 MB / 1.474 GB, free: 15.02 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.6244, allocations: 303.4 kB / 1.475 GB, free: 14.74 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01288/0.6373, allocations: 6.523 MB / 1.481 GB, free: 8.059 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009348/0.6382, allocations: 1.043 MB / 1.482 GB, free: 6.984 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.00104/0.6393, allocations: 271 kB / 1.482 GB, free: 6.715 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007428/0.64, allocations: 419.3 kB / 1.483 GB, free: 6.305 MB / 1.186 GB Notification: Performance of SimCode: time 8.92e-07/0.64, allocations: 0 / 1.483 GB, free: 6.305 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07428/0.7143, allocations: 23.41 MB / 1.505 GB, free: 15.14 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.29/15, allocations: 14.25 kB / 1.506 GB, free: 15.13 MB / 1.217 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --stepSize=1160 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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: 21.68172892718576]