Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_9_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.007717/0.007717, allocations: 99.05 kB / 15.73 MB, free: 6.055 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.001869/0.001869, allocations: 201.9 kB / 16.68 MB, free: 5.977 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.188/2.188, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 63.56 kB / 0.9504 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.233, allocations: 140.4 MB / 1.087 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005625/0.2387, allocations: 4.421 MB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.138/0.3767, allocations: 150.6 MB / 1.239 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007039/0.3774, allocations: 19.88 kB / 1.239 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006328/0.3781, allocations: 174.4 kB / 1.239 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0017/0.3798, allocations: 0.5058 MB / 1.24 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001918/0.3818, allocations: 0.8608 MB / 1.24 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001392/0.3832, allocations: 1.328 MB / 1.242 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009669/0.3841, allocations: 0.7025 MB / 1.242 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006481/0.3848, allocations: 0.4982 MB / 1.243 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006305/0.3854, allocations: 0.5211 MB / 1.243 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002294/0.3857, allocations: 124 kB / 1.243 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008733/0.3866, allocations: 0.5113 MB / 1.244 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003003/0.3869, allocations: 322.9 kB / 1.244 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000556/0.3874, allocations: 0.5829 MB / 1.245 GB, free: 168 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001773/0.3892, allocations: 1.714 MB / 1.247 GB, free: 14.45 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3892, allocations: 0 / 1.247 GB, free: 14.45 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3892, allocations: 0 / 1.247 GB, free: 14.45 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.3893, allocations: 0 / 1.247 GB, free: 14.45 MB / 1.014 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.002233/0.3915, allocations: 1.492 MB / 1.248 GB, free: 12.9 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.3915, allocations: 8.031 kB / 1.248 GB, free: 12.89 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001547/0.3917, allocations: 156.1 kB / 1.248 GB, free: 12.73 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.3928, allocations: 215.2 kB / 1.248 GB, free: 12.52 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.3938, allocations: 0.7809 MB / 1.249 GB, free: 11.7 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.067e-05/0.3939, allocations: 70 kB / 1.249 GB, free: 11.63 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.394, allocations: 92 kB / 1.249 GB, free: 11.54 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.3955, allocations: 1.012 MB / 1.25 GB, free: 10.49 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.3956, allocations: 7.938 kB / 1.25 GB, free: 10.48 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.354e-05/0.3957, allocations: 40 kB / 1.25 GB, free: 10.44 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/0.3957, allocations: 24 kB / 1.25 GB, free: 10.42 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/0.3975, allocations: 1.179 MB / 1.251 GB, free: 9.234 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003607/0.4011, allocations: 2.659 MB / 1.254 GB, free: 6.508 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/0.4027, allocations: 0.912 MB / 1.255 GB, free: 5.578 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005482/0.4032, allocations: 310.7 kB / 1.255 GB, free: 5.27 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006044/0.4039, allocations: 474.1 kB / 1.256 GB, free: 4.715 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008238/0.4047, allocations: 0.4914 MB / 1.256 GB, free: 4.203 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 2.455e-06/0.4047, allocations: 0 / 1.256 GB, free: 4.203 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.00306/0.4078, allocations: 1.233 MB / 1.257 GB, free: 2.945 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.475e-05/0.4079, allocations: 196.6 kB / 1.258 GB, free: 2.711 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006957/0.4086, allocations: 0.6527 MB / 1.258 GB, free: 2.051 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.355e-05/0.4086, allocations: 41.7 kB / 1.258 GB, free: 2.004 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/0.4089, allocations: 420.2 kB / 1.259 GB, free: 1.586 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/0.4091, allocations: 264.2 kB / 1.259 GB, free: 1.324 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/0.4093, allocations: 150.5 kB / 1.259 GB, free: 1.168 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.4095, allocations: 382.8 kB / 1.259 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005068/0.41, allocations: 261.9 kB / 1.26 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005984/0.4106, allocations: 370.5 kB / 1.26 GB, free: 144 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4442/0.8548, allocations: 0.5971 MB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.8548, allocations: 1.938 kB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002074/0.8569, allocations: 0.8218 MB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.8569, allocations: 7.5 kB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.8569, allocations: 1.719 kB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005837/0.8575, allocations: 82.45 kB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006622/0.8582, allocations: 157 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001777/0.86, allocations: 1.625 MB / 1.263 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007184/0.8607, allocations: 96.67 kB / 1.263 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.59e-05/0.8608, allocations: 35.86 kB / 1.263 GB, free: 171.9 MB / 1.014 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.0004111/0.8612, allocations: 275.8 kB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.8614, allocations: 84.06 kB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002475/0.8639, allocations: 1.098 MB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.8639, allocations: 10.44 kB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.8639, allocations: 7.5 kB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.8639, allocations: 5.469 kB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003429/0.8673, allocations: 2.017 MB / 1.267 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.8674, allocations: 0 / 1.267 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006061/0.868, allocations: 148 kB / 1.267 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004247/0.8684, allocations: 73.19 kB / 1.267 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.442e-05/0.8685, allocations: 25.67 kB / 1.267 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001563/0.87, allocations: 1.659 MB / 1.269 GB, free: 169.1 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.87, allocations: 3.625 kB / 1.269 GB, free: 169.1 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002067/0.8721, allocations: 1.016 MB / 1.27 GB, free: 168.7 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003436/0.8725, allocations: 278.3 kB / 1.27 GB, free: 168.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.8726, allocations: 22.58 kB / 1.27 GB, free: 168.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006546/0.8733, allocations: 67.2 kB / 1.27 GB, free: 168.4 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.8734, allocations: 69.38 kB / 1.27 GB, free: 168.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-05/0.8735, allocations: 40.62 kB / 1.27 GB, free: 168.4 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006121/0.8741, allocations: 472.6 kB / 1.271 GB, free: 168.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8741, allocations: 0 / 1.271 GB, free: 168.2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009581/0.8751, allocations: 338.8 kB / 1.271 GB, free: 168.1 MB / 1.014 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.003548/0.8786, allocations: 2.085 MB / 1.273 GB, free: 167.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001903/0.8806, allocations: 0.8156 MB / 1.274 GB, free: 166.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.8806, allocations: 0.75 kB / 1.274 GB, free: 166.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.8816, allocations: 0.5347 MB / 1.274 GB, free: 166.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.8828, allocations: 298.8 kB / 1.274 GB, free: 166.4 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.8933, allocations: 6.507 MB / 1.281 GB, free: 163.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004999/0.8938, allocations: 1.048 MB / 1.282 GB, free: 162.4 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008025/0.8947, allocations: 268.3 kB / 1.282 GB, free: 162.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004829/0.8951, allocations: 409 kB / 1.283 GB, free: 162 MB / 1.014 GB Notification: Performance of SimCode: time 5.81e-07/0.8952, allocations: 0 / 1.283 GB, free: 162 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04562/0.9408, allocations: 21.92 MB / 1.304 GB, free: 154.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.9, allocations: 13.67 kB / 1.304 GB, free: 154.7 MB / 1.014 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.csv --start-time 100000 --stop-time 3e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1160 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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