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 12.0.0-master/package.mo", uses=false) 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: "" <> 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.006283/0.006283, allocations: 97.3 kB / 15.73 MB, free: 6.039 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.001662/0.001662, allocations: 201.9 kB / 16.68 MB, free: 5.961 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.897/2.897, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 67.89 kB / 1.083 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2753, allocations: 162.2 MB / 1.241 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006983/0.2823, allocations: 5.163 MB / 1.246 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6762/0.9585, allocations: 150.7 MB / 1.394 GB, free: 1.617 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008207/0.9594, allocations: 15.19 kB / 1.394 GB, free: 1.613 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0007668/0.9601, allocations: 192.4 kB / 1.394 GB, free: 1.445 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002092/0.9623, allocations: 0.5683 MB / 1.394 GB, free: 1.031 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002112/0.9644, allocations: 0.8652 MB / 1.395 GB, free: 404 kB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001825/0.9662, allocations: 1.447 MB / 1.397 GB, free: 15.5 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009366/0.9672, allocations: 0.6592 MB / 1.397 GB, free: 15.09 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006649/0.9679, allocations: 0.5157 MB / 1.398 GB, free: 14.78 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006597/0.9685, allocations: 0.5507 MB / 1.398 GB, free: 14.39 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001676/0.9687, allocations: 125.3 kB / 1.399 GB, free: 14.39 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009684/0.9697, allocations: 0.5035 MB / 1.399 GB, free: 14.2 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003149/0.97, allocations: 312.2 kB / 1.399 GB, free: 13.95 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005964/0.9706, allocations: 0.6136 MB / 1.4 GB, free: 13.5 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002082/0.9727, allocations: 1.757 MB / 1.402 GB, free: 12.23 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.9727, allocations: 1.594 kB / 1.402 GB, free: 12.23 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9727, allocations: 0 / 1.402 GB, free: 12.23 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.614e-05/0.9728, allocations: 0 / 1.402 GB, free: 12.23 MB / 1.107 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.002684/0.9754, allocations: 1.549 MB / 1.403 GB, free: 11.01 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.9755, allocations: 9.094 kB / 1.403 GB, free: 11.01 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001845/0.9757, allocations: 149.1 kB / 1.403 GB, free: 10.89 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.9768, allocations: 227 kB / 1.403 GB, free: 10.78 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.9781, allocations: 0.7889 MB / 1.404 GB, free: 10.13 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.5e-05/0.9782, allocations: 72.59 kB / 1.404 GB, free: 10.1 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.9783, allocations: 89.38 kB / 1.404 GB, free: 10.07 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/0.9801, allocations: 1.013 MB / 1.405 GB, free: 9.43 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.9801, allocations: 1.125 kB / 1.405 GB, free: 9.43 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.9802, allocations: 44.89 kB / 1.405 GB, free: 9.395 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.9803, allocations: 23.75 kB / 1.405 GB, free: 9.395 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002085/0.9824, allocations: 1.174 MB / 1.407 GB, free: 8.836 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004616/0.987, allocations: 3.056 MB / 1.41 GB, free: 6.332 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/0.9888, allocations: 0.909 MB / 1.41 GB, free: 5.82 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006586/0.9895, allocations: 320.8 kB / 1.411 GB, free: 5.66 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007034/0.9902, allocations: 477.2 kB / 1.411 GB, free: 5.145 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009759/0.9912, allocations: 0.5009 MB / 1.412 GB, free: 4.82 MB / 1.107 GB Notification: Performance of pre-optimization done (n=82): time 2.364e-06/0.9912, allocations: 3.75 kB / 1.412 GB, free: 4.82 MB / 1.107 GB Notification: Performance of matching and sorting (n=82): time 0.003609/0.9948, allocations: 1.235 MB / 1.413 GB, free: 4.152 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.995, allocations: 192.8 kB / 1.413 GB, free: 3.93 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008491/0.9958, allocations: 0.6451 MB / 1.414 GB, free: 3.559 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.475e-05/0.9959, allocations: 42.92 kB / 1.414 GB, free: 3.516 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003809/0.9963, allocations: 433.9 kB / 1.414 GB, free: 3.137 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/0.9966, allocations: 279 kB / 1.414 GB, free: 2.895 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000257/0.9968, allocations: 152.7 kB / 1.415 GB, free: 2.801 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000217/0.997, allocations: 385.8 kB / 1.415 GB, free: 2.434 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000582/0.9976, allocations: 258.3 kB / 1.415 GB, free: 2.305 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007029/0.9983, allocations: 372.1 kB / 1.416 GB, free: 2.07 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.9996, allocations: 0.5989 MB / 1.416 GB, free: 1.746 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.9996, allocations: 0 / 1.416 GB, free: 1.746 MB / 1.107 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002126/1.002, allocations: 0.8426 MB / 1.417 GB, free: 1.309 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/1.002, allocations: 9.844 kB / 1.417 GB, free: 1.305 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/1.002, allocations: 1.469 kB / 1.417 GB, free: 1.305 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006176/1.002, allocations: 84.2 kB / 1.417 GB, free: 1.262 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006535/1.003, allocations: 151.2 kB / 1.417 GB, free: 1.227 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/1.005, allocations: 1.632 MB / 1.419 GB, free: 15.62 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000741/1.006, allocations: 96.5 kB / 1.419 GB, free: 15.55 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.245e-05/1.006, allocations: 30.75 kB / 1.419 GB, free: 15.55 MB / 1.123 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.0004495/1.007, allocations: 279.2 kB / 1.419 GB, free: 15.32 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/1.007, allocations: 84.2 kB / 1.419 GB, free: 15.28 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002572/1.009, allocations: 1.097 MB / 1.42 GB, free: 14.66 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/1.009, allocations: 8.375 kB / 1.42 GB, free: 14.66 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/1.009, allocations: 6.219 kB / 1.42 GB, free: 14.66 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/1.009, allocations: 3.984 kB / 1.42 GB, free: 14.66 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003387/1.013, allocations: 2.015 MB / 1.422 GB, free: 13.33 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.013, allocations: 0 / 1.422 GB, free: 13.33 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006209/1.013, allocations: 145.1 kB / 1.422 GB, free: 13.3 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004615/1.014, allocations: 73.91 kB / 1.423 GB, free: 13.26 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-05/1.014, allocations: 29.12 kB / 1.423 GB, free: 13.24 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002046/1.016, allocations: 1.663 MB / 1.424 GB, free: 11.54 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.016, allocations: 1.125 kB / 1.424 GB, free: 11.54 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00228/1.018, allocations: 1.03 MB / 1.425 GB, free: 10.5 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003922/1.019, allocations: 284.1 kB / 1.425 GB, free: 10.2 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/1.019, allocations: 20 kB / 1.426 GB, free: 10.18 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007144/1.02, allocations: 66.52 kB / 1.426 GB, free: 10.12 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/1.02, allocations: 68.89 kB / 1.426 GB, free: 10.05 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-05/1.02, allocations: 39.97 kB / 1.426 GB, free: 10.01 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0006512/1.021, allocations: 471 kB / 1.426 GB, free: 9.551 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.71e-07/1.021, allocations: 0 / 1.426 GB, free: 9.551 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009695/1.022, allocations: 355 kB / 1.426 GB, free: 9.203 MB / 1.123 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.004466/1.026, allocations: 2.105 MB / 1.429 GB, free: 7.266 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001819/1.028, allocations: 0.8242 MB / 1.429 GB, free: 6.426 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/1.028, allocations: 0 / 1.429 GB, free: 6.426 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001062/1.029, allocations: 0.5316 MB / 1.43 GB, free: 5.887 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/1.03, allocations: 308.5 kB / 1.43 GB, free: 5.605 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/1.041, allocations: 6.45 MB / 1.436 GB, free: 15 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007126/1.042, allocations: 1.043 MB / 1.437 GB, free: 13.93 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0008734/1.043, allocations: 274.9 kB / 1.438 GB, free: 13.66 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006161/1.044, allocations: 407.3 kB / 1.438 GB, free: 13.26 MB / 1.139 GB Notification: Performance of SimCode: time 6.41e-07/1.044, allocations: 0 / 1.438 GB, free: 13.26 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05781/1.102, allocations: 22.47 MB / 1.46 GB, free: 7.156 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/14.04, allocations: 4.188 kB / 1.46 GB, free: 7.152 MB / 1.154 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.csv --start-time 100000 --stop-time 3e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1160 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.csv","/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) "" Variables in the reference:time,skyCle.skyCle Variables in the result:time,skyCle.skyCle,weaBus.HDifHor,weaBus.HDirNor,weaBus.HGloHor,weaBus.HHorIR