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.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.001261/0.001261, allocations: 114.7 kB / 17.6 MB, free: 4.688 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.00127/0.00127, allocations: 189.9 kB / 20.78 MB, free: 1.52 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.397/1.397, allocations: 225.6 MB / 249.4 MB, free: 3.172 MB / 190.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.775/2.775, allocations: 476.7 MB / 0.7629 GB, free: 15.06 MB / 0.6075 GB " [Timeout remaining time 177] 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: "" <> 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: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 67.89 kB / 1.107 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8781/0.8803, allocations: 168.7 MB / 1.271 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005617/0.8859, allocations: 5.23 MB / 1.277 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1778/1.064, allocations: 151.3 MB / 1.424 GB, free: 3.438 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009666/1.065, allocations: 20.69 kB / 1.424 GB, free: 3.43 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0006093/1.065, allocations: 207.2 kB / 1.425 GB, free: 3.246 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001854/1.067, allocations: 0.5691 MB / 1.425 GB, free: 2.82 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002068/1.069, allocations: 0.89 MB / 1.426 GB, free: 2.141 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001567/1.071, allocations: 1.451 MB / 1.427 GB, free: 1.238 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007829/1.072, allocations: 473.7 kB / 1.428 GB, free: 0.8945 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006951/1.072, allocations: 0.5268 MB / 1.428 GB, free: 0.5742 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006628/1.073, allocations: 0.5433 MB / 1.429 GB, free: 192 kB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.00016/1.073, allocations: 124.7 kB / 1.429 GB, free: 192 kB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009728/1.074, allocations: 0.5084 MB / 1.429 GB, free: 15.99 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003037/1.074, allocations: 321 kB / 1.43 GB, free: 15.74 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005759/1.075, allocations: 0.6075 MB / 1.43 GB, free: 15.29 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002189/1.077, allocations: 1.763 MB / 1.432 GB, free: 14.02 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.077, allocations: 5.469 kB / 1.432 GB, free: 14.02 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.442e-06/1.077, allocations: 0 / 1.432 GB, free: 14.02 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.571e-05/1.077, allocations: 0 / 1.432 GB, free: 14.02 MB / 1.123 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.002742/1.08, allocations: 1.538 MB / 1.434 GB, free: 12.8 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/1.08, allocations: 13.2 kB / 1.434 GB, free: 12.79 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001782/1.08, allocations: 145.9 kB / 1.434 GB, free: 12.68 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/1.081, allocations: 226.7 kB / 1.434 GB, free: 12.56 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/1.082, allocations: 0.7897 MB / 1.435 GB, free: 11.91 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.747e-05/1.082, allocations: 73.88 kB / 1.435 GB, free: 11.88 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/1.083, allocations: 93.23 kB / 1.435 GB, free: 11.85 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/1.084, allocations: 1.015 MB / 1.436 GB, free: 11.2 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/1.084, allocations: 0 / 1.436 GB, free: 11.2 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.081e-05/1.084, allocations: 45.62 kB / 1.436 GB, free: 11.17 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/1.084, allocations: 23.38 kB / 1.436 GB, free: 11.17 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00201/1.086, allocations: 1.174 MB / 1.437 GB, free: 10.61 MB / 1.123 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.004512/1.091, allocations: 2.945 MB / 1.44 GB, free: 7.824 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/1.093, allocations: 0.873 MB / 1.441 GB, free: 6.934 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006775/1.093, allocations: 290.7 kB / 1.441 GB, free: 6.645 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006946/1.094, allocations: 474.1 kB / 1.442 GB, free: 6.09 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009715/1.095, allocations: 0.5038 MB / 1.442 GB, free: 5.566 MB / 1.123 GB Notification: Performance of pre-optimization done (n=82): time 2.215e-06/1.095, allocations: 0 / 1.442 GB, free: 5.566 MB / 1.123 GB Notification: Performance of matching and sorting (n=82): time 0.003512/1.099, allocations: 1.237 MB / 1.443 GB, free: 4.301 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/1.099, allocations: 188.6 kB / 1.443 GB, free: 4.074 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000863/1.1, allocations: 0.6489 MB / 1.444 GB, free: 3.418 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.601e-05/1.1, allocations: 41.7 kB / 1.444 GB, free: 3.371 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003613/1.1, allocations: 440.9 kB / 1.445 GB, free: 2.934 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002451/1.1, allocations: 273.7 kB / 1.445 GB, free: 2.664 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002417/1.101, allocations: 150.6 kB / 1.445 GB, free: 2.512 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001955/1.101, allocations: 386.8 kB / 1.445 GB, free: 2.125 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005633/1.101, allocations: 257.9 kB / 1.446 GB, free: 1.875 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006846/1.102, allocations: 370.5 kB / 1.446 GB, free: 1.484 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/1.103, allocations: 0.5994 MB / 1.447 GB, free: 0.875 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.103, allocations: 4 kB / 1.447 GB, free: 0.8711 MB / 1.123 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002015/1.105, allocations: 0.8335 MB / 1.447 GB, free: 28 kB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/1.105, allocations: 13.59 kB / 1.447 GB, free: 16 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/1.105, allocations: 4 kB / 1.447 GB, free: 12 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000617/1.106, allocations: 84.94 kB / 1.447 GB, free: 15.92 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006807/1.107, allocations: 147.8 kB / 1.448 GB, free: 15.78 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/1.109, allocations: 1.626 MB / 1.449 GB, free: 14 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007231/1.109, allocations: 91.69 kB / 1.449 GB, free: 13.91 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.022e-05/1.11, allocations: 43.97 kB / 1.449 GB, free: 13.87 MB / 1.139 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.0004522/1.11, allocations: 269.6 kB / 1.45 GB, free: 13.6 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/1.11, allocations: 87.44 kB / 1.45 GB, free: 13.51 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002582/1.113, allocations: 1.109 MB / 1.451 GB, free: 12.39 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/1.113, allocations: 8 kB / 1.451 GB, free: 12.38 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.113, allocations: 4 kB / 1.451 GB, free: 12.38 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/1.113, allocations: 7.969 kB / 1.451 GB, free: 12.37 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003543/1.116, allocations: 1.997 MB / 1.453 GB, free: 10.31 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/1.116, allocations: 0 / 1.453 GB, free: 10.31 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006253/1.117, allocations: 151.8 kB / 1.453 GB, free: 10.16 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000441/1.117, allocations: 72.78 kB / 1.453 GB, free: 10.09 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-05/1.117, allocations: 23.98 kB / 1.453 GB, free: 10.06 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00208/1.12, allocations: 1.666 MB / 1.455 GB, free: 8.254 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/1.12, allocations: 0 / 1.455 GB, free: 8.254 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002308/1.122, allocations: 1.026 MB / 1.456 GB, free: 7.211 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004309/1.122, allocations: 288.1 kB / 1.456 GB, free: 6.91 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/1.122, allocations: 16 kB / 1.456 GB, free: 6.895 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006901/1.123, allocations: 67.98 kB / 1.456 GB, free: 6.828 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/1.123, allocations: 76.84 kB / 1.456 GB, free: 6.754 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-05/1.123, allocations: 35.97 kB / 1.456 GB, free: 6.719 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006594/1.124, allocations: 475 kB / 1.456 GB, free: 6.258 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.21e-07/1.124, allocations: 3.938 kB / 1.456 GB, free: 6.254 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001043/1.125, allocations: 351 kB / 1.457 GB, free: 5.91 MB / 1.139 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.004341/1.129, allocations: 2.087 MB / 1.459 GB, free: 3.988 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001807/1.131, allocations: 0.8 MB / 1.46 GB, free: 3.176 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.131, allocations: 4.188 kB / 1.46 GB, free: 3.172 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.000991/1.132, allocations: 0.5001 MB / 1.46 GB, free: 2.656 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/1.133, allocations: 317.9 kB / 1.46 GB, free: 2.375 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/1.144, allocations: 6.441 MB / 1.467 GB, free: 11.78 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000718/1.145, allocations: 1.053 MB / 1.468 GB, free: 10.7 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008707/1.146, allocations: 278.8 kB / 1.468 GB, free: 10.42 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006192/1.147, allocations: 403.3 kB / 1.468 GB, free: 10.02 MB / 1.154 GB Notification: Performance of SimCode: time 7.42e-07/1.147, allocations: 0 / 1.468 GB, free: 10.02 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.103/2.249, allocations: 22.6 MB / 1.49 GB, free: 3.656 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/15.95, allocations: 10.8 kB / 1.49 GB, free: 3.648 MB / 1.17 GB " [Timeout remaining time 284] (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 --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_2/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: 22.160276983020594]