Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007682/0.007682, allocations: 108.4 kB / 15.74 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 193.4 kB / 16.67 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.207 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.586/2.586, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 59.91 kB / 1.054 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2932, allocations: 157.4 MB / 1.207 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006529/0.2998, allocations: 5.163 MB / 1.212 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.7611/1.061, allocations: 150.7 MB / 1.359 GB, free: 9.164 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000844/1.062, allocations: 15.31 kB / 1.359 GB, free: 9.16 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006343/1.062, allocations: 206.8 kB / 1.36 GB, free: 9.027 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001731/1.064, allocations: 0.5639 MB / 1.36 GB, free: 8.703 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001982/1.066, allocations: 0.8693 MB / 1.361 GB, free: 8.254 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001895/1.068, allocations: 1.448 MB / 1.362 GB, free: 7.508 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/1.069, allocations: 0.6519 MB / 1.363 GB, free: 7.172 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009447/1.07, allocations: 0.5244 MB / 1.364 GB, free: 6.91 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006946/1.071, allocations: 0.5432 MB / 1.364 GB, free: 6.621 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001681/1.071, allocations: 124.7 kB / 1.364 GB, free: 6.621 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/1.072, allocations: 0.5139 MB / 1.365 GB, free: 6.496 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003068/1.073, allocations: 314.2 kB / 1.365 GB, free: 6.297 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006243/1.073, allocations: 0.6043 MB / 1.366 GB, free: 5.898 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002653/1.076, allocations: 1.755 MB / 1.367 GB, free: 5.152 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/1.076, allocations: 5.125 kB / 1.367 GB, free: 5.148 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.643e-06/1.076, allocations: 0 / 1.367 GB, free: 5.148 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.922e-05/1.076, allocations: 0 / 1.367 GB, free: 5.148 MB / 1.061 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.002948/1.079, allocations: 1.514 MB / 1.369 GB, free: 4.129 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/1.079, allocations: 13.12 kB / 1.369 GB, free: 4.125 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000183/1.079, allocations: 147.9 kB / 1.369 GB, free: 4.027 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/1.08, allocations: 214.9 kB / 1.369 GB, free: 3.961 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/1.082, allocations: 0.7864 MB / 1.37 GB, free: 3.453 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.466e-05/1.082, allocations: 68.59 kB / 1.37 GB, free: 3.422 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/1.082, allocations: 96.06 kB / 1.37 GB, free: 3.391 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/1.084, allocations: 1.014 MB / 1.371 GB, free: 2.938 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/1.084, allocations: 0 / 1.371 GB, free: 2.938 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.506e-05/1.084, allocations: 42 kB / 1.371 GB, free: 2.906 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.262e-05/1.084, allocations: 27.02 kB / 1.371 GB, free: 2.902 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001908/1.086, allocations: 1.179 MB / 1.372 GB, free: 2.477 MB / 1.061 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.004269/1.09, allocations: 2.935 MB / 1.375 GB, free: 120 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/1.092, allocations: 0.9158 MB / 1.376 GB, free: 15.6 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005516/1.092, allocations: 319.8 kB / 1.376 GB, free: 15.44 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006141/1.093, allocations: 464.8 kB / 1.377 GB, free: 14.94 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008916/1.094, allocations: 0.5003 MB / 1.377 GB, free: 14.61 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 2.525e-06/1.094, allocations: 0 / 1.377 GB, free: 14.61 MB / 1.076 GB Notification: Performance of matching and sorting (n=82): time 0.003247/1.097, allocations: 1.235 MB / 1.379 GB, free: 13.95 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/1.097, allocations: 197 kB / 1.379 GB, free: 13.72 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008366/1.098, allocations: 0.6451 MB / 1.379 GB, free: 13.34 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.138e-05/1.098, allocations: 46.14 kB / 1.379 GB, free: 13.3 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003176/1.098, allocations: 426 kB / 1.38 GB, free: 12.93 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/1.099, allocations: 260.5 kB / 1.38 GB, free: 12.7 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002302/1.099, allocations: 148.8 kB / 1.38 GB, free: 12.61 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000155/1.099, allocations: 385.7 kB / 1.381 GB, free: 12.24 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005148/1.1, allocations: 266.9 kB / 1.381 GB, free: 12.11 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006473/1.1, allocations: 368.8 kB / 1.381 GB, free: 11.88 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/1.101, allocations: 0.6028 MB / 1.382 GB, free: 11.55 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/1.101, allocations: 0.8438 kB / 1.382 GB, free: 11.55 MB / 1.076 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001961/1.103, allocations: 0.8268 MB / 1.383 GB, free: 11.13 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/1.103, allocations: 9 kB / 1.383 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/1.103, allocations: 5.062 kB / 1.383 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005957/1.104, allocations: 84.2 kB / 1.383 GB, free: 11.08 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006469/1.105, allocations: 156.1 kB / 1.383 GB, free: 11.04 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002103/1.107, allocations: 1.631 MB / 1.384 GB, free: 9.441 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008966/1.108, allocations: 94.19 kB / 1.385 GB, free: 9.379 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-05/1.108, allocations: 36.77 kB / 1.385 GB, free: 9.363 MB / 1.076 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.0005894/1.108, allocations: 272.7 kB / 1.385 GB, free: 9.148 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/1.109, allocations: 88.2 kB / 1.385 GB, free: 9.102 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002607/1.111, allocations: 1.091 MB / 1.386 GB, free: 8.488 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/1.111, allocations: 9.5 kB / 1.386 GB, free: 8.488 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/1.111, allocations: 4 kB / 1.386 GB, free: 8.484 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/1.111, allocations: 9.469 kB / 1.386 GB, free: 8.477 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003766/1.115, allocations: 2.004 MB / 1.388 GB, free: 7.152 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/1.115, allocations: 3.984 kB / 1.388 GB, free: 7.148 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006344/1.116, allocations: 154.8 kB / 1.388 GB, free: 7.109 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004467/1.116, allocations: 74.09 kB / 1.388 GB, free: 7.07 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.335e-05/1.116, allocations: 24.77 kB / 1.388 GB, free: 7.055 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/1.118, allocations: 1.655 MB / 1.39 GB, free: 5.441 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/1.118, allocations: 64 / 1.39 GB, free: 5.441 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/1.12, allocations: 1.026 MB / 1.391 GB, free: 4.859 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004542/1.121, allocations: 277.7 kB / 1.391 GB, free: 4.617 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/1.121, allocations: 15.81 kB / 1.391 GB, free: 4.605 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006954/1.122, allocations: 70.8 kB / 1.391 GB, free: 4.57 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/1.122, allocations: 74.45 kB / 1.391 GB, free: 4.531 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-05/1.122, allocations: 35.52 kB / 1.391 GB, free: 4.52 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005581/1.122, allocations: 471.4 kB / 1.392 GB, free: 4.254 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/1.122, allocations: 0 / 1.392 GB, free: 4.254 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000964/1.123, allocations: 351.3 kB / 1.392 GB, free: 4.148 MB / 1.076 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.003535/1.127, allocations: 2.089 MB / 1.394 GB, free: 2.844 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001768/1.129, allocations: 0.8189 MB / 1.395 GB, free: 2.41 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.129, allocations: 3.188 kB / 1.395 GB, free: 2.41 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009366/1.13, allocations: 0.5373 MB / 1.395 GB, free: 2.102 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/1.131, allocations: 308.7 kB / 1.396 GB, free: 1.949 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009685/1.141, allocations: 6.408 MB / 1.402 GB, free: 14 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005642/1.141, allocations: 1.041 MB / 1.403 GB, free: 13.14 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008494/1.142, allocations: 277.1 kB / 1.403 GB, free: 13 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005368/1.143, allocations: 414.5 kB / 1.404 GB, free: 12.67 MB / 1.092 GB Notification: Performance of SimCode: time 8.52e-07/1.143, allocations: 0 / 1.404 GB, free: 12.67 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05284/1.195, allocations: 22.88 MB / 1.426 GB, free: 6.605 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/13.33, allocations: 13.61 kB / 1.426 GB, free: 6.594 MB / 1.107 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches