Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.DiffuseIsotropic,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",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.007548/0.007548, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.001827/0.001827, allocations: 190.3 kB / 16.67 MB, free: 5.93 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.261/1.261, 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.186/2.186, allocations: 390.3 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 62.36 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2519, allocations: 140.4 MB / 1.087 GB, free: 2.043 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005586/0.2576, allocations: 4.345 MB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1447/0.4023, allocations: 150.6 MB / 1.239 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000816/0.4032, allocations: 19.88 kB / 1.239 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007169/0.4039, allocations: 174.4 kB / 1.239 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001857/0.4058, allocations: 0.5025 MB / 1.239 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.4079, allocations: 0.8213 MB / 1.24 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001487/0.4094, allocations: 1.297 MB / 1.241 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009325/0.4103, allocations: 0.6101 MB / 1.242 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007181/0.4111, allocations: 482.4 kB / 1.243 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000677/0.4117, allocations: 489.8 kB / 1.243 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002452/0.412, allocations: 116 kB / 1.243 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009296/0.4129, allocations: 487.6 kB / 1.244 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003127/0.4133, allocations: 291 kB / 1.244 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005875/0.4139, allocations: 0.5401 MB / 1.244 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002078/0.4159, allocations: 1.603 MB / 1.246 GB, free: 15.11 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.416, allocations: 0 / 1.246 GB, free: 15.11 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.814e-06/0.416, allocations: 0 / 1.246 GB, free: 15.11 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.33e-05/0.416, allocations: 0 / 1.246 GB, free: 15.11 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.00287/0.4189, allocations: 1.457 MB / 1.247 GB, free: 13.6 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.419, allocations: 8.031 kB / 1.247 GB, free: 13.59 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001833/0.4191, allocations: 131.4 kB / 1.247 GB, free: 13.45 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009553/0.4201, allocations: 192.1 kB / 1.248 GB, free: 13.27 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.4213, allocations: 0.7737 MB / 1.248 GB, free: 12.45 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.074e-05/0.4214, allocations: 62 kB / 1.248 GB, free: 12.39 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.4215, allocations: 83.98 kB / 1.249 GB, free: 12.31 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.4231, allocations: 0.9145 MB / 1.249 GB, free: 11.36 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.4231, allocations: 0 / 1.249 GB, free: 11.36 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.492e-05/0.4232, allocations: 32 kB / 1.249 GB, free: 11.32 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.4232, allocations: 20 kB / 1.25 GB, free: 11.3 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001683/0.4249, allocations: 1.104 MB / 1.251 GB, free: 10.2 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003796/0.4287, allocations: 2.47 MB / 1.253 GB, free: 7.66 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.4302, allocations: 0.7979 MB / 1.254 GB, free: 6.859 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005315/0.4308, allocations: 310.6 kB / 1.254 GB, free: 6.555 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.962e-05/0.4309, allocations: 32.67 kB / 1.254 GB, free: 6.523 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008291/0.4317, allocations: 491.1 kB / 1.255 GB, free: 6.023 MB / 1.014 GB Notification: Performance of pre-optimization done (n=80): time 2.745e-06/0.4317, allocations: 0 / 1.255 GB, free: 6.023 MB / 1.014 GB Notification: Performance of matching and sorting (n=80): time 0.003066/0.4348, allocations: 1.19 MB / 1.256 GB, free: 4.805 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.845e-05/0.4349, allocations: 196.6 kB / 1.256 GB, free: 4.57 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007353/0.4356, allocations: 0.6254 MB / 1.257 GB, free: 3.938 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.806e-05/0.4357, allocations: 45.7 kB / 1.257 GB, free: 3.887 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/0.436, allocations: 401 kB / 1.257 GB, free: 3.488 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/0.4362, allocations: 269.7 kB / 1.257 GB, free: 3.223 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.4364, allocations: 146.6 kB / 1.257 GB, free: 3.07 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.4366, allocations: 390.7 kB / 1.258 GB, free: 2.68 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004858/0.4371, allocations: 245.9 kB / 1.258 GB, free: 2.441 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005776/0.4376, allocations: 354.5 kB / 1.258 GB, free: 2.066 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.4387, allocations: 0.5761 MB / 1.259 GB, free: 1.477 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.4387, allocations: 4 kB / 1.259 GB, free: 1.473 MB / 1.014 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001853/0.4406, allocations: 0.8062 MB / 1.26 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.4406, allocations: 4 kB / 1.26 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.4406, allocations: 0 / 1.26 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005847/0.4412, allocations: 88.77 kB / 1.26 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006021/0.4418, allocations: 151.7 kB / 1.26 GB, free: 428 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5167/0.9586, allocations: 1.623 MB / 1.261 GB, free: 172.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008968/0.9595, allocations: 90.28 kB / 1.262 GB, free: 172.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-05/0.9596, allocations: 30.67 kB / 1.262 GB, free: 172.3 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 (87): * Single equations (assignments): 86 * 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.0004992/0.9601, allocations: 265.7 kB / 1.262 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/0.9603, allocations: 90.45 kB / 1.262 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002453/0.9627, allocations: 1.062 MB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.9628, allocations: 9.531 kB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.9628, allocations: 5.312 kB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.9628, allocations: 4.688 kB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.964, allocations: 0.886 MB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.964, allocations: 1.297 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005978/0.9646, allocations: 148.8 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004539/0.9651, allocations: 74.38 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.752e-05/0.9651, allocations: 27.11 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001643/0.9668, allocations: 1.657 MB / 1.266 GB, free: 170.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.9668, allocations: 0.6875 kB / 1.266 GB, free: 170.5 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002052/0.9689, allocations: 0.9301 MB / 1.267 GB, free: 170.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004007/0.9693, allocations: 282.7 kB / 1.267 GB, free: 170 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.9694, allocations: 19.23 kB / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006046/0.97, allocations: 60.31 kB / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/0.9702, allocations: 70.62 kB / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.412e-05/0.9703, allocations: 40.16 kB / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006448/0.9709, allocations: 457.3 kB / 1.268 GB, free: 169.7 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9709, allocations: 0 / 1.268 GB, free: 169.7 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008736/0.9718, allocations: 307.4 kB / 1.268 GB, free: 169.7 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * 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.003341/0.9752, allocations: 1.996 MB / 1.27 GB, free: 168.7 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001736/0.9769, allocations: 0.794 MB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.9769, allocations: 3.938 kB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009391/0.9779, allocations: 0.5116 MB / 1.271 GB, free: 168.1 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.9791, allocations: 285.9 kB / 1.271 GB, free: 168 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/0.9905, allocations: 6.247 MB / 1.277 GB, free: 164.9 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006287/0.9912, allocations: 1.022 MB / 1.278 GB, free: 164.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009724/0.9921, allocations: 269.9 kB / 1.279 GB, free: 164.1 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004826/0.9926, allocations: 373.8 kB / 1.279 GB, free: 163.9 MB / 1.014 GB Notification: Performance of SimCode: time 4.31e-07/0.9926, allocations: 0.7656 kB / 1.279 GB, free: 163.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05116/1.044, allocations: 21.08 MB / 1.3 GB, free: 157.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/13.05, allocations: 17.31 kB / 1.3 GB, free: 157.4 MB / 1.014 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches