Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_11_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.008228/0.008228, allocations: 98.42 kB / 15.73 MB, free: 5.602 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.002207/0.002207, allocations: 196.2 kB / 16.68 MB, free: 5.523 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.833/2.833, allocations: 469.8 MB / 0.7425 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 64.08 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2821, allocations: 159.1 MB / 1.22 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006657/0.2888, allocations: 4.845 MB / 1.225 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6802/0.9691, allocations: 150.6 MB / 1.372 GB, free: 11.15 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007036/0.9698, allocations: 19.88 kB / 1.372 GB, free: 11.14 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006461/0.9705, allocations: 187.2 kB / 1.372 GB, free: 11.02 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001782/0.9723, allocations: 0.5447 MB / 1.373 GB, free: 10.71 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001907/0.9742, allocations: 0.8289 MB / 1.373 GB, free: 10.28 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001644/0.9759, allocations: 1.379 MB / 1.375 GB, free: 9.566 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009158/0.9768, allocations: 0.5818 MB / 1.375 GB, free: 9.254 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007325/0.9775, allocations: 483.5 kB / 1.376 GB, free: 9.016 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007558/0.9783, allocations: 0.4949 MB / 1.376 GB, free: 8.754 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002336/0.9785, allocations: 115.2 kB / 1.376 GB, free: 8.754 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009709/0.9795, allocations: 485.4 kB / 1.377 GB, free: 8.637 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002958/0.9798, allocations: 298.5 kB / 1.377 GB, free: 8.449 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005669/0.9804, allocations: 0.5507 MB / 1.378 GB, free: 8.082 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001848/0.9823, allocations: 1.638 MB / 1.379 GB, free: 7.246 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.9823, allocations: 0 / 1.379 GB, free: 7.246 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.343e-06/0.9823, allocations: 0 / 1.379 GB, free: 7.246 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.867e-05/0.9823, allocations: 1.5 kB / 1.379 GB, free: 7.246 MB / 1.076 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.002609/0.9849, allocations: 1.463 MB / 1.381 GB, free: 6.082 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.985, allocations: 13.25 kB / 1.381 GB, free: 6.078 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001731/0.9852, allocations: 132.4 kB / 1.381 GB, free: 5.969 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009354/0.9861, allocations: 187.4 kB / 1.381 GB, free: 5.879 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.9873, allocations: 0.7701 MB / 1.382 GB, free: 5.246 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.433e-05/0.9874, allocations: 59.53 kB / 1.382 GB, free: 5.223 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.9875, allocations: 86.22 kB / 1.382 GB, free: 5.191 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.9891, allocations: 0.9179 MB / 1.383 GB, free: 4.598 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.9891, allocations: 0 / 1.383 GB, free: 4.598 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-05/0.9892, allocations: 36.97 kB / 1.383 GB, free: 4.57 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.9892, allocations: 19.88 kB / 1.383 GB, free: 4.57 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/0.9911, allocations: 1.106 MB / 1.384 GB, free: 4.043 MB / 1.076 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.004156/0.9953, allocations: 2.684 MB / 1.387 GB, free: 1.887 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.9968, allocations: 0.7945 MB / 1.387 GB, free: 1.496 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005642/0.9974, allocations: 294.8 kB / 1.388 GB, free: 1.348 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.848e-05/0.9975, allocations: 39.34 kB / 1.388 GB, free: 1.324 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008893/0.9984, allocations: 491 kB / 1.388 GB, free: 1.016 MB / 1.076 GB Notification: Performance of pre-optimization done (n=80): time 2.544e-06/0.9984, allocations: 1.562 kB / 1.388 GB, free: 1.016 MB / 1.076 GB Notification: Performance of matching and sorting (n=80): time 0.003339/1.002, allocations: 1.198 MB / 1.389 GB, free: 372 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/1.002, allocations: 192.7 kB / 1.39 GB, free: 144 kB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008391/1.003, allocations: 0.6301 MB / 1.39 GB, free: 15.78 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 7.752e-05/1.003, allocations: 42.39 kB / 1.39 GB, free: 15.73 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003353/1.003, allocations: 400.8 kB / 1.391 GB, free: 15.38 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/1.003, allocations: 270.1 kB / 1.391 GB, free: 15.15 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000251/1.004, allocations: 152.8 kB / 1.391 GB, free: 15.05 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002016/1.004, allocations: 387.9 kB / 1.391 GB, free: 14.68 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005259/1.004, allocations: 246.2 kB / 1.392 GB, free: 14.57 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006474/1.005, allocations: 366.8 kB / 1.392 GB, free: 14.33 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/1.006, allocations: 0.5838 MB / 1.393 GB, free: 14.02 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/1.006, allocations: 1.156 kB / 1.393 GB, free: 14.02 MB / 1.092 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002172/1.008, allocations: 0.8115 MB / 1.393 GB, free: 13.59 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/1.009, allocations: 5.406 kB / 1.393 GB, free: 13.59 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/1.009, allocations: 1.094 kB / 1.393 GB, free: 13.59 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006165/1.009, allocations: 84.06 kB / 1.393 GB, free: 13.55 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000632/1.01, allocations: 156.7 kB / 1.394 GB, free: 13.51 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/1.012, allocations: 1.632 MB / 1.395 GB, free: 11.9 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007096/1.013, allocations: 83.55 kB / 1.395 GB, free: 11.85 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-05/1.013, allocations: 35.84 kB / 1.395 GB, free: 11.84 MB / 1.092 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.0004162/1.013, allocations: 271.9 kB / 1.396 GB, free: 11.62 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/1.013, allocations: 87.28 kB / 1.396 GB, free: 11.57 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002465/1.016, allocations: 1.058 MB / 1.397 GB, free: 10.98 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/1.016, allocations: 8.938 kB / 1.397 GB, free: 10.98 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/1.016, allocations: 1.375 kB / 1.397 GB, free: 10.98 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/1.016, allocations: 7.922 kB / 1.397 GB, free: 10.97 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/1.017, allocations: 0.8896 MB / 1.398 GB, free: 10.3 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.017, allocations: 0 / 1.398 GB, free: 10.3 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005709/1.018, allocations: 149.9 kB / 1.398 GB, free: 10.26 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004504/1.018, allocations: 70.22 kB / 1.398 GB, free: 10.22 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.949e-05/1.018, allocations: 24.58 kB / 1.398 GB, free: 10.21 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002058/1.02, allocations: 1.673 MB / 1.399 GB, free: 8.578 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/1.02, allocations: 0 / 1.399 GB, free: 8.578 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002037/1.022, allocations: 0.9229 MB / 1.4 GB, free: 8.082 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003824/1.023, allocations: 279.5 kB / 1.401 GB, free: 7.836 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/1.023, allocations: 21.62 kB / 1.401 GB, free: 7.82 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006277/1.023, allocations: 60.03 kB / 1.401 GB, free: 7.793 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/1.024, allocations: 75.36 kB / 1.401 GB, free: 7.754 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.129e-05/1.024, allocations: 34.52 kB / 1.401 GB, free: 7.742 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005803/1.024, allocations: 460.3 kB / 1.401 GB, free: 7.48 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.914e-06/1.024, allocations: 5.219 kB / 1.401 GB, free: 7.477 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008254/1.025, allocations: 328.4 kB / 1.401 GB, free: 7.379 MB / 1.092 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.004016/1.029, allocations: 1.969 MB / 1.403 GB, free: 6.16 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001593/1.031, allocations: 0.7977 MB / 1.404 GB, free: 5.742 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 9.699e-06/1.031, allocations: 6.906 kB / 1.404 GB, free: 5.738 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0009142/1.032, allocations: 0.5143 MB / 1.405 GB, free: 5.445 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/1.033, allocations: 306.6 kB / 1.405 GB, free: 5.289 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009779/1.043, allocations: 6.15 MB / 1.411 GB, free: 1.406 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006936/1.043, allocations: 1.028 MB / 1.412 GB, free: 360 kB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.000798/1.044, allocations: 258.7 kB / 1.412 GB, free: 96 kB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005853/1.045, allocations: 375.4 kB / 1.413 GB, free: 15.72 MB / 1.107 GB Notification: Performance of SimCode: time 5.81e-07/1.045, allocations: 0 / 1.413 GB, free: 15.72 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05639/1.101, allocations: 21.5 MB / 1.434 GB, free: 10.59 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.43/17.53, allocations: 13.16 kB / 1.434 GB, free: 10.57 MB / 1.123 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches