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.006953/0.006953, allocations: 102.9 kB / 15.73 MB, free: 6.488 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.001783/0.001784, allocations: 195.2 kB / 16.68 MB, free: 6.375 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.253/2.253, allocations: 390.3 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 62.97 kB / 0.9504 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2232, allocations: 140.4 MB / 1.087 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005389/0.2286, allocations: 4.349 MB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1436/0.3723, allocations: 150.5 MB / 1.239 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006794/0.373, allocations: 15.94 kB / 1.239 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006003/0.3736, allocations: 170.4 kB / 1.239 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001657/0.3753, allocations: 0.5129 MB / 1.239 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001876/0.3772, allocations: 0.826 MB / 1.24 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001419/0.3786, allocations: 1.293 MB / 1.241 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009168/0.3795, allocations: 0.6217 MB / 1.242 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006568/0.3802, allocations: 462.4 kB / 1.243 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006054/0.3808, allocations: 493.8 kB / 1.243 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001978/0.381, allocations: 116 kB / 1.243 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008577/0.3819, allocations: 483.6 kB / 1.244 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000275/0.3822, allocations: 303 kB / 1.244 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005406/0.3827, allocations: 0.5402 MB / 1.244 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00187/0.3846, allocations: 1.597 MB / 1.246 GB, free: 15.07 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3846, allocations: 0 / 1.246 GB, free: 15.07 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3846, allocations: 0 / 1.246 GB, free: 15.07 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.124e-05/0.3847, allocations: 0 / 1.246 GB, free: 15.07 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.002684/0.3874, allocations: 1.416 MB / 1.247 GB, free: 13.61 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.3874, allocations: 12.03 kB / 1.247 GB, free: 13.6 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001721/0.3876, allocations: 135.4 kB / 1.247 GB, free: 13.46 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009164/0.3885, allocations: 183.4 kB / 1.248 GB, free: 13.28 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.3897, allocations: 0.7576 MB / 1.248 GB, free: 12.48 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.724e-05/0.3898, allocations: 66 kB / 1.248 GB, free: 12.41 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.3899, allocations: 79.98 kB / 1.249 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.3914, allocations: 0.9106 MB / 1.249 GB, free: 11.39 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.3914, allocations: 4 kB / 1.249 GB, free: 11.38 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-05/0.3915, allocations: 35.98 kB / 1.249 GB, free: 11.35 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.3915, allocations: 20 kB / 1.249 GB, free: 11.33 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/0.3932, allocations: 1.104 MB / 1.251 GB, free: 10.22 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003732/0.397, allocations: 2.465 MB / 1.253 GB, free: 7.688 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.3984, allocations: 0.7901 MB / 1.254 GB, free: 6.895 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005132/0.3989, allocations: 302.7 kB / 1.254 GB, free: 6.598 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.869e-05/0.399, allocations: 20.7 kB / 1.254 GB, free: 6.578 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008053/0.3998, allocations: 0.4951 MB / 1.254 GB, free: 6.062 MB / 1.014 GB Notification: Performance of pre-optimization done (n=80): time 2.655e-06/0.3999, allocations: 0 / 1.254 GB, free: 6.062 MB / 1.014 GB Notification: Performance of matching and sorting (n=80): time 0.003074/0.4029, allocations: 1.186 MB / 1.256 GB, free: 4.848 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.777e-05/0.403, allocations: 192.5 kB / 1.256 GB, free: 4.617 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007694/0.4038, allocations: 0.6293 MB / 1.256 GB, free: 3.98 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.833e-05/0.4039, allocations: 41.7 kB / 1.256 GB, free: 3.934 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002928/0.4042, allocations: 396.3 kB / 1.257 GB, free: 3.539 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/0.4044, allocations: 256.3 kB / 1.257 GB, free: 3.285 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/0.4046, allocations: 154.5 kB / 1.257 GB, free: 3.125 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.4048, allocations: 386.7 kB / 1.258 GB, free: 2.738 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004866/0.4053, allocations: 245.9 kB / 1.258 GB, free: 2.5 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006308/0.4059, allocations: 354.6 kB / 1.258 GB, free: 2.125 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.407, allocations: 0.5761 MB / 1.259 GB, free: 1.535 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.407, allocations: 4 kB / 1.259 GB, free: 1.531 MB / 1.014 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001827/0.4088, allocations: 0.8057 MB / 1.26 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4089, allocations: 10.12 kB / 1.26 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.4089, allocations: 4 kB / 1.26 GB, free: 0.707 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000578/0.4095, allocations: 80.72 kB / 1.26 GB, free: 0.625 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000591/0.4101, allocations: 155.8 kB / 1.26 GB, free: 484 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4304/0.8404, allocations: 1.621 MB / 1.261 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008089/0.8413, allocations: 83 kB / 1.261 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-05/0.8413, allocations: 29.95 kB / 1.261 GB, free: 172.1 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.0004264/0.8418, allocations: 270.6 kB / 1.262 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/0.8419, allocations: 88.69 kB / 1.262 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00237/0.8443, allocations: 1.052 MB / 1.263 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.8443, allocations: 8.844 kB / 1.263 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.8444, allocations: 1.031 kB / 1.263 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.8444, allocations: 12 kB / 1.263 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.8454, allocations: 0.8883 MB / 1.264 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.8454, allocations: 0.75 kB / 1.264 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005804/0.846, allocations: 144.4 kB / 1.264 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004443/0.8465, allocations: 71.84 kB / 1.264 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-05/0.8465, allocations: 27.17 kB / 1.264 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/0.8481, allocations: 1.657 MB / 1.266 GB, free: 170.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8481, allocations: 4.703 kB / 1.266 GB, free: 170.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001968/0.8501, allocations: 0.9254 MB / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003812/0.8505, allocations: 270.8 kB / 1.267 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.8506, allocations: 21.92 kB / 1.267 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006192/0.8512, allocations: 60.81 kB / 1.267 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.8514, allocations: 71.36 kB / 1.267 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.221e-05/0.8515, allocations: 37.12 kB / 1.267 GB, free: 169.7 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005746/0.8521, allocations: 460.9 kB / 1.267 GB, free: 169.5 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8521, allocations: 2.156 kB / 1.267 GB, free: 169.5 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008193/0.8529, allocations: 307.3 kB / 1.268 GB, free: 169.4 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.003288/0.8562, allocations: 1.971 MB / 1.27 GB, free: 168.5 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001666/0.8579, allocations: 0.8004 MB / 1.27 GB, free: 168.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.8579, allocations: 0.875 kB / 1.27 GB, free: 168.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009371/0.8588, allocations: 0.5088 MB / 1.271 GB, free: 167.9 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.86, allocations: 290.1 kB / 1.271 GB, free: 167.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/0.8714, allocations: 6.227 MB / 1.277 GB, free: 164.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006063/0.872, allocations: 1.018 MB / 1.278 GB, free: 164 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009161/0.873, allocations: 267.4 kB / 1.278 GB, free: 163.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004813/0.8735, allocations: 377.7 kB / 1.279 GB, free: 163.7 MB / 1.014 GB Notification: Performance of SimCode: time 5.51e-07/0.8735, allocations: 0 / 1.279 GB, free: 163.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04877/0.9222, allocations: 21.08 MB / 1.299 GB, free: 157.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.76, allocations: 6.875 kB / 1.299 GB, free: 157.3 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